Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2011 02:26:37 GMT
From:      Dean Freeman <wfreeman@sourcefire.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/154668: update the snort port to version 2.9.0.4 from 2.9.0.3
Message-ID:  <201102110226.p1B2QbpI065489@red.freebsd.org>
Resent-Message-ID: <201102110230.p1B2UCvN052133@freefall.freebsd.org>

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

>Number:         154668
>Category:       ports
>Synopsis:       update the snort port to version 2.9.0.4 from 2.9.0.3
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 11 02:30:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Dean Freeman
>Release:        8-stable
>Organization:
Sourcefire, Inc
>Environment:
FreeBSD bsd-port-vm.sourcefire.com 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #3: Mon Jan 31 23:32:25 EST 2011     root@bsd-port-vm.sourcefire.com:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
The attached patch will bring the Snort port up to 2.9.0.4, which was released by us (Sourcefire) today.
>How-To-Repeat:

>Fix:
--- /tmp/Makefile	2011-02-09 01:50:03.000000000 -0500
+++ Makefile	2011-02-10 15:23:09.000000000 -0500
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	snort
-PORTVERSION=	2.9.0.3
+PORTVERSION=	2.9.0.4
 CATEGORIES=	security
 MASTER_SITES=	SF/snort/snort
 
@@ -60,8 +60,13 @@
 USE_AUTOTOOLS=	libtool
 USE_LDCONFIG=	yes
 LIBNET_CONFIG?=		${LOCALBASE}/bin/libnet11-config
+.if exists($(LIBNET_CONFIG}))
 LIBNET_CFLAGS!=	${LIBNET_CONFIG} --cflags
 LIBNET_LIBS!=	${LIBNET_CONFIG} --libs
+.else
+LIBNET_CFLAGS=-I${LOCALBASE}/include/libnet11
+LIBNET_LIBS=-L${LOCALBASE}/lib/libnet11 -lnet
+.endif
 LIBNET_INCDIR=	${LIBNET_CFLAGS:M-I*:S/-I//}
 LIBNET_LIBDIR=	${LIBNET_LIBS:M-L*:S/-L//}
 
@@ -150,8 +155,7 @@
 
 .if defined(WITH_SNORTSAM)
 USE_AUTOTOOLS+= automake
-PATCH_SITES+=	http://www.snortsam.net/files/snort-plugin/:snortsam \
-		http://www.secnap.com/downloads/:snortsam
+PATCH_SITES+=	http://www.snortsam.net/files/snort-plugin/:snortsam
 PATCHFILES+=	snortsam-2.9.0.3.diff.gz:snortsam
 .endif
 
--- /tmp/distinfo	2011-02-10 15:27:14.000000000 -0500
+++ distinfo	2011-02-10 15:08:32.000000000 -0500
@@ -1,4 +1,4 @@
-SHA256 (snort-2.9.0.3.tar.gz) = 382768dc7a47bbf4e1a85cd765d8bf4f245643be2acfc740fda1cd3d24e32a48
-SIZE (snort-2.9.0.3.tar.gz) = 5791144
+SHA256 (snort-2.9.0.4.tar.gz) = 131f54b48005677b73c55a2c3d893ab3607562912272d0810fc9b85c63fc91e9
+SIZE (snort-2.9.0.4.tar.gz) = 5862444 
 SHA256 (snortsam-2.9.0.3.diff.gz) = f32baf0408e80c7aed3560ce46229d936d71b8e7a4180efdba04f8e0021e70bc
 SIZE (snortsam-2.9.0.3.diff.gz) = 28890

>Release-Note:
>Audit-Trail:
>Unformatted:



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