summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2020-11-22 08:18:23 +0100
committer Matteo Bernardini2021-03-06 10:52:35 +0100
commit4a72a680bf6a8f620939c6cf5c04a5436cf61ca0 (patch)
tree85224fc6cbf2aba3f4ccb3e0bd4604093a665622
parent3c59cb22425adf5d8a0d1a79baf00e6d9334c620 (diff)
downloadslackbuilds-snort.tar.gz
network/snort: Updated for version 2.9.17.snort
Use libtirpc rpc headers, add the new dep luajit Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--network/snort/snort.SlackBuild12
-rw-r--r--network/snort/snort.info8
2 files changed, 10 insertions, 10 deletions
diff --git a/network/snort/snort.SlackBuild b/network/snort/snort.SlackBuild
index 37e1b34f99..2bc47b6a56 100644
--- a/network/snort/snort.SlackBuild
+++ b/network/snort/snort.SlackBuild
@@ -26,13 +26,13 @@
# Maintained by David Spencer <baildon.research@googlemail.com>
PRGNAM=snort
-VERSION=${VERSION:-2.9.11.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.9.17}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -43,8 +43,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -87,6 +87,7 @@ if [ "${NON_ETHER:-yes}" = 'no' ]; then
NON_ETHERNET_DECODERS=''
fi
+CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc/" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -98,7 +99,6 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-pthread \
--enable-linux-smp-stats \
- --enable-zlib \
${NON_ETHERNET_DECODERS} \
--build=$ARCH-slackware-linux
diff --git a/network/snort/snort.info b/network/snort/snort.info
index 38c8c4110f..3bcb6aa954 100644
--- a/network/snort/snort.info
+++ b/network/snort/snort.info
@@ -1,10 +1,10 @@
PRGNAM="snort"
-VERSION="2.9.11.1"
+VERSION="2.9.17"
HOMEPAGE="https://www.snort.org/"
-DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/snort/snort-2.9.11.1.tar.gz"
-MD5SUM="378e3938b2b5c8e358f942d0ffce18cc"
+DOWNLOAD="https://www.snort.org/downloads/snort/snort-2.9.17.tar.gz"
+MD5SUM="3fe89f22def4e9ffda01f07f816e666d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="daq"
+REQUIRES="daq luajit"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"