diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2017-01-28 15:07:04 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-04 06:59:25 +0700 |
commit | 3e68e1cb6046f1cddd73449b526b2e51a82ae3ea (patch) | |
tree | 6f677a02c9514b56e8bc614784c1c478e404806a /network/snort/snort.SlackBuild | |
parent | 5310799a40f028770901940bdf0d54a2e3280329 (diff) | |
download | slackbuilds-3e68e1cb6046f1cddd73449b526b2e51a82ae3ea.tar.gz |
network/snort: Support non-ethernet decoders.
Thanks to Panagiotis Nikolaou.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/snort/snort.SlackBuild')
-rw-r--r-- | network/snort/snort.SlackBuild | 8 |
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 |