summaryrefslogtreecommitdiffstats
path: root/network/snort/snort.SlackBuild
diff options
context:
space:
mode:
author David Spencer2015-04-04 00:48:17 +0200
committer Willy Sudiarto Raharjo2015-04-05 03:38:20 +0200
commit7338032f420c63455b7a09291373473d52a967ae (patch)
tree0e8c0e54bc3af3ca158b3b5cddfabe19cce2dca4 /network/snort/snort.SlackBuild
parent0c2f780383a40b02618c618f8539454ecbb24df0 (diff)
downloadslackbuilds-7338032f420c63455b7a09291373473d52a967ae.tar.gz
network/snort: Updated for version 2.9.7.2.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'network/snort/snort.SlackBuild')
-rw-r--r--network/snort/snort.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/network/snort/snort.SlackBuild b/network/snort/snort.SlackBuild
index 6194ecb516..835c53fd96 100644
--- a/network/snort/snort.SlackBuild
+++ b/network/snort/snort.SlackBuild
@@ -26,7 +26,7 @@
# Maintained by David Spencer <baildon.research@googlemail.com>
PRGNAM=snort
-VERSION=${VERSION:-2.9.7.0}
+VERSION=${VERSION:-2.9.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,7 +67,7 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
# The Makefiles do not respect the --libdir setting, which causes the libs to
-# go to /usr/lib/ on Slackware64. We'll "teach them" how to do it right :)
+# go to /usr/lib/ on Slackware64. We'll "teach them" how to do it right :)
for mf in $( find src/ -name Makefile.in ) ; do
sed -i "s|\${exec_prefix}/lib/snort_dynamic|@libdir@/snort_dynamic|g" $mf
done
@@ -105,7 +105,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $(readlink $i).gz $i.gz ; rm
# Set up a sane config directory - snort won't do this on its own
mkdir -p $PKG/etc/$PRGNAM
# Fix paths for libraries in snort.conf, also 64-bits and rules paths...
-# also set "unified2" as standard output, without special options
+# also set "unified2" as standard output, without special options
sed -e "s|usr/local/lib|usr/lib${LIBDIRSUFFIX}|g" \
-e "s|PATH ../|PATH |g" \
-e "/^# output unified2*/aoutput unified2: filename snort.log, limit 128" \
@@ -115,10 +115,6 @@ cat etc/reference.config > $PKG/etc/snort/reference.config.new
cat etc/classification.config > $PKG/etc/snort/classification.config.new
cat etc/attribute_table.dtd > $PKG/etc/snort/attribute_table.dtd.new
cat etc/gen-msg.map > $PKG/etc/snort/gen-msg.map.new
-# sid-msg.map is not included in the source tarball, but it is in the
-# snort-rules package. We'll just skip it for now, it might come back in
-# some release...
-#cat etc/sid-msg.map > $PKG/etc/snort/sid-msg.map.new
cat etc/unicode.map > $PKG/etc/snort/unicode.map.new
# Create default, empty directory for rules