pkgsrc-Bugs archive

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

pkg/26620: security/honeyd does not build under Linux (patch included)



>Number:         26620
>Category:       pkg
>Synopsis:       security/honeyd does not build under Linux (patch included)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 11 22:22:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Roland Illig
>Release:        
>Organization:
>Environment:
System: Linux wwid 2.4.22-1-k7 #5 Sat Oct 4 14:11:12 EST 2003 i686 GNU/Linux
Architecture: i686

        
>Description:
On Linux the function openpty is contained in the library libutil, but
honeyd does not check for this.

>How-To-Repeat:
        
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/honeyd/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile    30 Apr 2004 17:26:23 -0000      1.2
+++ Makefile    11 Aug 2004 22:18:53 -0000
@@ -18,6 +18,8 @@
 USE_PKGINSTALL=                yes
 PKG_SYSCONFSUBDIR=     honeyd
 RCD_SCRIPTS=           honeyd
+CONFIGURE_ARGS+=       LDFLAGS=${LIBS:Q}
+LIBS.Linux+=           -lutil
 
 DIST_CONF_FILES=       nmap.assoc xprobe2.conf nmap.prints \
                        config.ethernet pf.os
@@ -33,9 +35,9 @@
        ${INSTALL_DATA_DIR} ${DOCDIR}
        ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
 
+.include "../../lang/python/extension.mk"
 .include "../../devel/libevent/buildlink3.mk"
 .include "../../devel/ncurses/buildlink3.mk"
 .include "../../net/libdnet/buildlink3.mk"
 .include "../../net/libpcap/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
-
>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index