pkgsrc-Bugs archive

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

pkg/39635: stunnel won't compile

>Number:         39635
>Category:       pkg
>Synopsis:       stunnel won't compile; missing libwrap
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 27 15:05:00 +0000 2008
>Originator:     Steven M. Bellovin
>Release:        NetBSD 4.0_STABLE
System: NetBSD 4.0_STABLE NetBSD 4.0_STABLE (EMU-DOMU) #3: 
Sat May 24 18:11:32 GMT 2008
Architecture: i386
Machine: i386
        security/stunnel won't compile because it needs -lwrap:

        libwrap.o: In function `auth_libwrap':
        libwrap.c:(.text+0x38): undefined reference to `request_init'
        libwrap.c:(.text+0x41): undefined reference to `sock_host'
        libwrap.c:(.text+0x49): undefined reference to `hosts_access'

        I've seen this on amd64-current and i386-4.0.
        cd /usr/pkgsrc/security/stunnel && make
        There are two work-arounds.  First, use mk.conf to disable the
        libwrap option if you don't need it.  Second, the following patch
        works on NetBSD but perhaps not on other platforms; besides,
        it's a bad patch to put into pkgsrc:

        --- configure   2008-05-18 07:46:08.000000000 -0400
        +++ /tmp/configure      2008-09-26 22:44:02.000000000 -0400
        @@ -23452,6 +23452,7 @@
                         cat >>confdefs.h <<\_ACEOF
         #define HAVE_LIBWRAP 1
        +LIBS="-lwrap $LIBS"
                     no) { echo "$as_me:$LINENO: result: yes" >&5


Home | Main Index | Thread Index | Old Index