diff options
Diffstat (limited to 'network/snort/snort.SlackBuild')
-rw-r--r-- | network/snort/snort.SlackBuild | 10 |
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 |