summaryrefslogtreecommitdiffstats
path: root/network/snort/snort.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/snort/snort.SlackBuild')
-rw-r--r--network/snort/snort.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/network/snort/snort.SlackBuild b/network/snort/snort.SlackBuild
index cac218f702..eb3768d373 100644
--- a/network/snort/snort.SlackBuild
+++ b/network/snort/snort.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=snort
VERSION=${VERSION:-2.9.9.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -82,6 +82,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+NON_ETHERNET_DECODERS='--enable-non-ether-decoders'
+if [ "${NON_ETHER:-yes}" = 'no' ]; then
+ NON_ETHERNET_DECODERS=''
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -94,6 +99,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-pthread \
--enable-linux-smp-stats \
--enable-zlib \
+ ${NON_ETHERNET_DECODERS} \
--build=$ARCH-slackware-linux
make