diff options
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 |