aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-11-22 08:18:23 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:58:05 -0500
commit3e07155b10d4e15de8200325dca328414330b486 (patch)
tree61afa36008e34405055cd646c0bab74106480fbe
parent93d82439d70c45e0813d44e3ea2f904635658200 (diff)
network/snort: Updated for version 2.9.17.
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 37e1b34f998b1..2bc47b6a568f4 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 38c8c4110f3d2..3bcb6aa954527 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"