diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-08 22:38:33 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-08 22:38:33 +0700 |
commit | 3a53c156fcd38b0ea912625a09b873b8926b409a (patch) | |
tree | efedb2e448ea4156abd1af9c01062f77ffa35dc3 /network/suricata/suricata.SlackBuild | |
parent | 9a4609fd5977cc34f55461485190f102a17656c8 (diff) |
network/suricata: Updated for version 6.0.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/suricata/suricata.SlackBuild')
-rw-r--r-- | network/suricata/suricata.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
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 |