From ohauer@gmx.de  Sun Apr 11 19:36:58 2010
Return-Path: <ohauer@gmx.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2BDFF106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Apr 2010 19:36:58 +0000 (UTC)
	(envelope-from ohauer@gmx.de)
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20])
	by mx1.freebsd.org (Postfix) with SMTP id 9E6E68FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Apr 2010 19:36:54 +0000 (UTC)
Received: (qmail invoked by alias); 11 Apr 2010 19:36:42 -0000
Received: from u18-124.dsl.vianetworks.de (EHLO u18-124.dsl.vianetworks.de) [194.231.39.124]
  by mail.gmx.net (mp064) with SMTP; 11 Apr 2010 21:36:42 +0200
Received: by u18-124.dsl.vianetworks.de (Postfix, from userid 1100)
	id 5E1A6261EA; Sun, 11 Apr 2010 21:36:25 +0200 (CEST)
Message-Id: <20100411193625.5E1A6261EA@u18-124.dsl.vianetworks.de>
Date: Sun, 11 Apr 2010 21:36:25 +0200 (CEST)
From: olli hauer <ohauer@gmx.de>
Reply-To: olli hauer <ohauer@gmx.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: clsung@FreeBSD.org
Subject: [patch] port security/snort fix LIB_DEPENDS
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         145632
>Category:       ports
>Synopsis:       [patch] port security/snort fix LIB_DEPENDS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    clsung
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 11 19:40:01 UTC 2010
>Closed-Date:    Tue Apr 20 09:23:58 UTC 2010
>Last-Modified:  Tue Apr 20 09:30:01 UTC 2010
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->clsung 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Apr 11 19:40:39 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145632 

From: olli hauer <ohauer@gmx.de>
To: bug-followup@FreeBSD.org
Cc: clsung@FreeBSD.org, Olli Hauer <ohauer@gmx.de>
Subject: Re: ports/145632: [patch] port security/snort fix LIB_DEPENDS
Date: Mon, 19 Apr 2010 00:10:34 +0200

 Hi,
 
 the snortsam patch for snort has changed.
 Now it includes again a sample config entry for snort.conf
 
 see http://lists.snortsam.net/pipermail/snortsam-discussion/2010-March/000502.html
 
 It will be nice to update the distinfo to reflect the change.
 
 
 
 --- patch_snort_distinfo.txt begins here ---diff -u -r1.1 distinfo
 --- distinfo    2010/04/18 21:52:46     1.1
 +++ distinfo    2010/04/18 21:53:07
 @@ -1,6 +1,6 @@
   MD5 (snort-2.8.5.3.tar.gz) = ef02aaad54746603f2cb3236fe962128
   SHA256 (snort-2.8.5.3.tar.gz) = 
 a7d9eb16427514d00926e9892c4a92b6ff1fd0f79555d8f8dce91dfa14112e6a
   SIZE (snort-2.8.5.3.tar.gz) = 4730637
 -MD5 (snortsam-2.8.5.diff.gz) = a1c18a342db8a9273bbe560497401e72
 -SHA256 (snortsam-2.8.5.diff.gz) = 
 4af05486cde3167fc19709fa65b4fd9b7c95052f7769cd96ff48d2af1ea1c342
 -SIZE (snortsam-2.8.5.diff.gz) = 28474
 +MD5 (snortsam-2.8.5.diff.gz) = 5adbf37ed30b7e7b06dcb763310654c7
 +SHA256 (snortsam-2.8.5.diff.gz) = 
 f23fd04749b4ec3028a35c8db8c2ce0d14beac9c95b52f232229e13930b341f0
 +SIZE (snortsam-2.8.5.diff.gz) = 29150
 --- patch_snort_distinfo.txt ends here ---
 
 Regards,
 olli
State-Changed-From-To: open->closed 
State-Changed-By: clsung 
State-Changed-When: Tue Apr 20 09:23:57 UTC 2010 
State-Changed-Why:  
Committed. Thank You. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145632 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/145632: commit references a PR
Date: Tue, 20 Apr 2010 09:23:55 +0000 (UTC)

 clsung      2010-04-20 09:23:42 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/snort       Makefile distinfo 
   Log:
   - fix LIB_DEPENDS about libnet
   - snortsam patch for snort has changed
     - ref: http://lists.snortsam.net/pipermail/snortsam-discussion/2010-March/000502.html
   - bump PORTREVISION
   
   PR:             ports/145632
   Submitted by:   olli hauer <ohauer_AT_gmx dot de>
   
   Revision  Changes    Path
   1.119     +3 -2      ports/security/snort/Makefile
   1.63      +3 -3      ports/security/snort/distinfo
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
