ports/161876: [update] security/snort to 2.9.1.2
Ryan Steinmetz
zi at FreeBSD.org
Fri Oct 21 13:10:05 UTC 2011
>Number: 161876
>Category: ports
>Synopsis: [update] security/snort to 2.9.1.2
>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: Fri Oct 21 13:10:04 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Ryan Steinmetz
>Release: 8.2-RELEASE
>Organization:
Rochester Institute of Technology
>Environment:
>Description:
- Update to 2.9.1.2
- Add DEBUG option to build snort with symbols, etc.
- Add SOURCEFIRE option to build snort with --enable-sourcefire
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/snort/Makefile,v
retrieving revision 1.137
diff -u -r1.137 Makefile
--- Makefile 7 Oct 2011 13:42:13 -0000 1.137
+++ Makefile 21 Oct 2011 12:54:00 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= snort
-PORTVERSION= 2.9.1.1
+PORTVERSION= 2.9.1.2
CATEGORIES= security
MASTER_SITES= SF/snort/snort
@@ -39,7 +39,9 @@
POSTGRESQL "Enable PostgreSQL support" off \
PRELUDE "Enable Prelude NIDS integration" off \
LRGPCAP "Enable pcaps larger than 2GB" off \
- SNORTSAM "Unofficial Snortsam Patch" off
+ SNORTSAM "Unofficial Snortsam Patch" off \
+ SRCFIRE "Enable sourcefire build option" off \
+ DBGSNORT "Enable debugging symbols+core dumps" off
.include <bsd.port.options.mk>
@@ -73,9 +75,9 @@
LIBNET_INCDIR= ${LIBNET_CFLAGS:M-I*:S/-I//}
LIBNET_LIBDIR= ${LIBNET_LIBS:M-L*:S/-L//}
+CFLAGS+= -fstack-protector
CONFIGURE_ARGS= --enable-dynamicplugin --enable-build-dynamic-examples \
--enable-reload --enable-reload-error-restart \
- --disable-corefiles \
--with-dnet-includes=${LIBNET_INCDIR} \
--with-dnet-libraries=${LIBNET_LIBDIR}
@@ -124,6 +126,17 @@
CONFIGURE_ARGS+= --enable-large-pcap
.endif
+.if defined(WITH_DBGSNORT)
+CONFIGURE_ARGS+= --enable-corefiles --enable-debug
+MAKE_ENV+= DONTSTRIP="yes"
+.else
+CONFIGURE_ARGS+= --disable-corefiles
+.endif
+
+.if defined(WITH_SRCFIRE)
+CONFIGURE_ARGS+= --enable-sourcefire
+.endif
+
.if defined(WITH_PERFPROFILE)
CONFIGURE_ARGS+= --enable-perfprofiling --enable-ppm
.endif
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/security/snort/distinfo,v
retrieving revision 1.72
diff -u -r1.72 distinfo
--- distinfo 7 Oct 2011 13:42:13 -0000 1.72
+++ distinfo 21 Oct 2011 12:55:48 -0000
@@ -1,2 +1,2 @@
-SHA256 (snort-2.9.1.1.tar.gz) = 9b89c3345541050b4f2b6355a3023512e08ba16913c0cf5815397441df8c962e
-SIZE (snort-2.9.1.1.tar.gz) = 6249252
+SHA256 (snort-2.9.1.2.tar.gz) = eac98be8138f9debdcc8f77061dab1950e88fa40c18311ddbab0a329852375f5
+SIZE (snort-2.9.1.2.tar.gz) = 6233647
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list