Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Apr 2010 21:36:25 +0200 (CEST)
From:      olli hauer <ohauer@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        clsung@FreeBSD.org
Subject:   ports/145632: [patch] port security/snort fix LIB_DEPENDS
Message-ID:  <20100411193625.5E1A6261EA@u18-124.dsl.vianetworks.de>
Resent-Message-ID: <201004111940.o3BJe14E099426@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         145632
>Category:       ports
>Synopsis:       [patch] port security/snort fix LIB_DEPENDS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 11 19:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     olli hauer <ohauer@gmx.de>
>Release:        
>Organization:
>Environment:


>Description:
move libdnet from BUILD_DEPENDS to LIB_DEPENDS.

ldd /usr/local/bin/snort
/usr/local/bin/snort:
        libssl.so.5 => /usr/lib/libssl.so.5 (0x2813a000)
        libcrypto.so.5 => /lib/libcrypto.so.5 (0x2817b000)
        libdnet.1 => /usr/local/lib/libdnet.1 (0x282d4000)
        libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x282e0000)
        libpcap.so.5 => /lib/libpcap.so.5 (0x28314000)
        libm.so.5 => /lib/libm.so.5 (0x2833b000)
        libpq.so.5 => /usr/local/lib/libpq.so.5 (0x28350000)
        libc.so.7 => /lib/libc.so.7 (0x28370000)
        libcrypt.so.4 => /lib/libcrypt.so.4 (0x28476000)


>How-To-Repeat:
- build snort with flexresp2 in tinderbox
- remove snort and libdnet from the target machine.
- install snort from the tinderbox host -> snort fails to start since libdnet is not installed


>Fix:
--- patch_snort_lib_depends.txt begins here ---
--- Makefile	2010/04/11 17:52:03	1.1
+++ Makefile	2010/04/11 18:06:17
@@ -80,8 +80,8 @@
 .endif
 
 .if defined(WITH_FLEXRESP2)
-BUILD_DEPENDS+=		${LIBNET_CONFIG}:${PORTSDIR}/net/libnet \
-			libdnet*>=1.10_1:${PORTSDIR}/net/libdnet
+LIB_DEPENDS+=		dnet.1:${PORTSDIR}/net/libdnet
+BUILD_DEPENDS+=		${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
 CONFIGURE_ARGS+=	--enable-flexresp2 \
 			--with-libnet-includes=${LIBNET_INCDIR} \
 			--with-libnet-libraries=${LIBNET_LIBDIR}
--- patch_snort_lib_depends.txt ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100411193625.5E1A6261EA>