pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/52250: gmp and mpfr not found by some packages



* On 2017-06-19 at 14:08 BST, Jörn Clausen wrote:

> > 1. security/tcp_wrappers/builtin.mk is the logic to determine whether a
> >    builtin is available, and if so whether it should be used.  In this
> >    case it checks for the existence of /usr/include/tcpd.h and libwrap in
> >    the system library paths.
> 
> Solaris 11.3/i86:
> 
> $ ll /usr/include/tcpd.h
> -rw-r--r--   1 root     bin        10386 Jun  1  2015 /usr/include/tcpd.h
> 
> $ ll /usr/lib/*wrap*
> lrwxrwxrwx   1 root     root          14 May 28  2015 /usr/lib/libwrap.so ->
> libwrap.so.1.0
> lrwxrwxrwx   1 root     root          14 May 28  2015 /usr/lib/libwrap.so.1
> -> libwrap.so.1.0
> -rwxr-xr-x   1 root     bin        56960 May 29 10:12
> /usr/lib/libwrap.so.1.0
> -rw-r--r--   1 root     bin         1294 May 28  2015 /usr/lib/llib-lwrap
> -rw-r--r--   1 root     bin        33904 May 29 10:12 /usr/lib/llib-lwrap.ln
> 
> Solaris 11.3/sparc:
> 
> $ ll /usr/include/tcpd.h
> -rw-r--r--   1 root     bin        10386 Jul  8  2016 /usr/include/tcpd.h
> 
> $ ll /usr/lib/*wrap*
> lrwxrwxrwx   1 root     root          14 Jul  8  2016 /usr/lib/libwrap.so ->
> libwrap.so.1.0
> lrwxrwxrwx   1 root     root          14 Jul  8  2016 /usr/lib/libwrap.so.1
> -> libwrap.so.1.0
> -rwxr-xr-x   1 root     bin        61056 May 23 10:06
> /usr/lib/libwrap.so.1.0
> -rw-r--r--   1 root     bin         1294 Jul  8  2016 /usr/lib/llib-lwrap
> -rw-r--r--   1 root     bin        33765 May 23 10:07 /usr/lib/llib-lwrap.ln
> 
> 
> > 2. IS_BUILTIN.tcp_wrappers will tell you if a builtin has been detected.
> 
> i86:
> 
> $ bmake show-var VARNAME=IS_BUILTIN.tcp_wrappers
> no
> 
> sparc:
> 
> $ bmake show-var VARNAME=IS_BUILTIN.tcp_wrappers
> yes

Ok, so let's dig a little deeper into the logic of builtin.mk.  What are

  BUILTIN_LIB_FOUND.wrap
  H_TCP_WRAPPERS

set to on each?

-- 
Jonathan Perkin       www.perkin.org.uk
github.com/jperkin  twitter.com/jperkin


Home | Main Index | Thread Index | Old Index