diff options
Diffstat (limited to 'network/snort')
-rw-r--r-- | network/snort/README | 21 | ||||
-rw-r--r-- | network/snort/snort.SlackBuild | 11 | ||||
-rw-r--r-- | network/snort/snort.info | 2 |
3 files changed, 21 insertions, 13 deletions
diff --git a/network/snort/README b/network/snort/README index 6beb0ff2e3..e34479229f 100644 --- a/network/snort/README +++ b/network/snort/README @@ -1,14 +1,15 @@ -Snort is an open source network intrusion detection and prevention system. -It is capable of performing real-time traffic analysis, alerting, blocking -and packet logging on IP networks. It utilizes a combination of protocol -analysis and pattern matching in order to detect a anomalies, misuse and -attacks. +Snort is an open source network intrusion detection and prevention +system. It is capable of performing real-time traffic analysis, +alerting, blocking and packet logging on IP networks. It utilizes +a combination of protocol analysis and pattern matching in order to +detect a anomalies, misuse and attacks. -Snort uses a flexible rules language to describe activity that can be -considered malicious or anomalous as well as an analysis engine that -incorporates a modular plugin architecture. Snort is capable of detecting -and responding in real-time, sending alerts, performing session sniping, -logging packets, or dropping sessions/packets when deployed in-line. +Snort uses a flexible rules language to describe activity that can +be considered malicious or anomalous as well as an analysis engine +that incorporates a modular plugin architecture. Snort is capable +of detecting and responding in real-time, sending alerts, performing +session sniping, logging packets, or dropping sessions/packets when +deployed in-line. Snort has three primary functional modes. It can be used as a packet sniffer like tcpdump(1), a packet logger (useful for network traffic diff --git a/network/snort/snort.SlackBuild b/network/snort/snort.SlackBuild index cd46f30e20..88b11aadaf 100644 --- a/network/snort/snort.SlackBuild +++ b/network/snort/snort.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=snort VERSION=${VERSION:-2.9.17} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -73,7 +73,12 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +# respecting content-disposition may include cgi params in the filename +TARBALL=$CWD/$PRGNAM-$VERSION.tar.gz +if [ ! -e $TARBALL ]; then + TARBALL="$(/bin/ls $TARBALL\?* | head -1)" +fi +tar xvf $TARBALL cd $PRGNAM-$VERSION # The Makefiles do not respect the --libdir setting, which causes the libs to @@ -156,6 +161,8 @@ cp -a COPYING ChangeLog LICENSE RELEASE.NOTES \ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE +rm -f $PKG/usr/lib*/*.la + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/network/snort/snort.info b/network/snort/snort.info index 3bcb6aa954..38f7e5cd51 100644 --- a/network/snort/snort.info +++ b/network/snort/snort.info @@ -1,7 +1,7 @@ PRGNAM="snort" VERSION="2.9.17" HOMEPAGE="https://www.snort.org/" -DOWNLOAD="https://www.snort.org/downloads/snort/snort-2.9.17.tar.gz" +DOWNLOAD="https://www.snort.org/downloads/archive/snort/snort-2.9.17.tar.gz" MD5SUM="3fe89f22def4e9ffda01f07f816e666d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |