diff options
author | Niels Horn <niels.horn@gmail.com> | 2010-10-16 21:31:45 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-10-16 21:31:45 -0500 |
commit | 64e84ab974fc5715cdb4614e47a9c9124e1e9331 (patch) | |
tree | d296fc70634fd837312f4b13417d76a27a01f0ad /network/snort/snort.SlackBuild | |
parent | 6899efdffa4fac665b5e6aa296809d12bb5718d5 (diff) | |
download | slackbuilds-64e84ab974fc5715cdb4614e47a9c9124e1e9331.tar.gz |
network/snort: Updated for version 2.9.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/snort/snort.SlackBuild')
-rw-r--r-- | network/snort/snort.SlackBuild | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/network/snort/snort.SlackBuild b/network/snort/snort.SlackBuild index 2eaeea0d5d..b65057130b 100644 --- a/network/snort/snort.SlackBuild +++ b/network/snort/snort.SlackBuild @@ -25,10 +25,10 @@ # Modified by the SlackBuilds.org project # Maintained as of version 2.8.6.1 by Niels Horn <niels.horn@gmail.com> -# revision date: 2010/09/18 +# revision date: 2010/10/09 PRGNAM=snort -VERSION=${VERSION:-2.8.6.1} +VERSION=${VERSION:-2.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -95,6 +95,7 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --enable-pthread \ --enable-linux-smp-stats \ + --enable-zlib \ --with-mysql-libraries=/usr/lib${LIBDIRSUFFIX}/mysql \ --with-mysql-includes=/usr/include/mysql \ --build=$ARCH-slackware-linux @@ -108,14 +109,20 @@ 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 sed -e "s|usr/local/lib|usr/lib${LIBDIRSUFFIX}|g" \ - -e "s|PATH ../|PATH |g" etc/snort.conf > $PKG/etc/snort/snort.conf.new + -e "s|PATH ../|PATH |g" \ + -e "/^# output unified2*/aoutput unified2: filename snort.log, limit 128" \ + etc/snort.conf > $PKG/etc/snort/snort.conf.new cat etc/threshold.conf > $PKG/etc/snort/threshold.conf.new 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 -cat etc/sid-msg.map > $PKG/etc/snort/sid-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 +# the next 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 |