aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/snort/Makefile10
-rw-r--r--security/snort/distinfo4
-rw-r--r--security/snort/files/patch-configure11
3 files changed, 16 insertions, 9 deletions
diff --git a/security/snort/Makefile b/security/snort/Makefile
index 1adec0eeeae0..1f966ffda034 100644
--- a/security/snort/Makefile
+++ b/security/snort/Makefile
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= snort
-PORTVERSION= 2.9.7.3
+PORTVERSION= 2.9.7.5
CATEGORIES= security
-MASTER_SITES= SF/snort/snort \
- https://snort.org/downloads/snort/ \
+MASTER_SITES= https://snort.org/downloads/snort/ \
http://mirrors.rit.edu/zi/
PATCH_DIST_STRIP= -p1
@@ -72,7 +71,7 @@ APPID_CONFIGURE_ENV+= luajit_CFLAGS="-I${LOCALBASE}/include/luajit-2.0" \
USE_RC_SUBR= snort
SUB_FILES= pkg-message
-USES= cpe pathfix libtool
+USES= cpe libtool pathfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
@@ -108,9 +107,6 @@ CONFIGURE_ARGS+=--enable-reload \
--with-dnet-libraries=${LIBNET_LIBDIR}
post-patch:
-#@${FIND} ${WRKSRC} \( -name 'Makefile.in' -o -name snort.conf \) -print0 | \
-#${XARGS} -0 ${REINPLACE_CMD} -e 's|lib/snort_|lib/snort/|g'
-
@${REINPLACE_CMD} "s,/etc/snort.conf,${ETCDIR}/snort.conf," \
${WRKSRC}/src/snort.c ${WRKSRC}/snort.8
diff --git a/security/snort/distinfo b/security/snort/distinfo
index c9eeb32dc049..b8737fd72913 100644
--- a/security/snort/distinfo
+++ b/security/snort/distinfo
@@ -1,2 +1,2 @@
-SHA256 (snort-2.9.7.3.tar.gz) = 8cc3613b888fc54947a2beec773c76d9a20368f2659b31d45a9f0b11e66cc229
-SIZE (snort-2.9.7.3.tar.gz) = 6300073
+SHA256 (snort-2.9.7.5.tar.gz) = ad03f11b5301b16642199a86aa90388eaa53f5003f83b0c5595745a490047be1
+SIZE (snort-2.9.7.5.tar.gz) = 6312847
diff --git a/security/snort/files/patch-configure b/security/snort/files/patch-configure
new file mode 100644
index 000000000000..8466f280854d
--- /dev/null
+++ b/security/snort/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2015-07-23 18:22:50 UTC
++++ configure
+@@ -12,6 +12,8 @@
+ ## M4sh Initialization. ##
+ ## -------------------- ##
+
++HOME=/dev/null
++
+ # Be more Bourne compatible
+ DUALCASE=1; export DUALCASE # for MKS sh
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :