diff options
-rw-r--r-- | security/snort/Makefile | 21 | ||||
-rw-r--r-- | security/snort/distinfo | 4 |
2 files changed, 19 insertions, 6 deletions
diff --git a/security/snort/Makefile b/security/snort/Makefile index 2a09791a14b1..8f95516c62b2 100644 --- a/security/snort/Makefile +++ b/security/snort/Makefile @@ -6,13 +6,13 @@ # PORTNAME= snort -PORTVERSION= 2.9.1.1 +PORTVERSION= 2.9.1.2 CATEGORIES= security MASTER_SITES= SF/snort/snort PATCH_DIST_STRIP= -p1 -MAINTAINER= wfreeman@sourcefire.com +MAINTAINER= zi@FreeBSD.org COMMENT= Lightweight network intrusion detection system LICENSE= GPLv2 @@ -39,7 +39,9 @@ OPTIONS= IPV6 "Enable IPv6 support" on \ 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_LIBS= -L${LOCALBASE}/lib/libnet11 -lnet 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 @@ PLIST_SUB+= PRELUDE="@comment " 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 diff --git a/security/snort/distinfo b/security/snort/distinfo index 3bb1766c8b6c..500658cc7447 100644 --- a/security/snort/distinfo +++ b/security/snort/distinfo @@ -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 |