From 3a53c156fcd38b0ea912625a09b873b8926b409a Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Tue, 8 Mar 2022 22:38:33 +0700 Subject: network/suricata: Updated for version 6.0.2. Signed-off-by: Willy Sudiarto Raharjo --- network/suricata/suricata.SlackBuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'network/suricata/suricata.SlackBuild') diff --git a/network/suricata/suricata.SlackBuild b/network/suricata/suricata.SlackBuild index 83bbb6d08ac8e..0cd133e2d7eda 100644 --- a/network/suricata/suricata.SlackBuild +++ b/network/suricata/suricata.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=suricata -VERSION=${VERSION:-4.1.2} +VERSION=${VERSION:-6.0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -104,7 +104,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr sed -i 's/magic-file: \/usr\/share\/file\/magic/magic-file: \/etc\/file\/magic.mgc/' suricata.yaml # Install config files -CONFIGS="classification.config reference.config suricata.yaml threshold.config" +CONFIGS="classification.config reference.config" +for file in $CONFIGS; do + install -D -m644 etc/$file $PKG/etc/suricata/${file}.new +done +CONFIGS="suricata.yaml threshold.config" for file in $CONFIGS; do install -D -m644 $file $PKG/etc/suricata/${file}.new done -- cgit v1.2.3