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 ++++++-- network/suricata/suricata.info | 6 +++--- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'network/suricata') diff --git a/network/suricata/suricata.SlackBuild b/network/suricata/suricata.SlackBuild index 83bbb6d08ac8..0cd133e2d7ed 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 diff --git a/network/suricata/suricata.info b/network/suricata/suricata.info index a78981ddc646..663109f13c01 100644 --- a/network/suricata/suricata.info +++ b/network/suricata/suricata.info @@ -1,8 +1,8 @@ PRGNAM="suricata" -VERSION="4.1.2" +VERSION="6.0.4" HOMEPAGE="https://suricata-ids.org/" -DOWNLOAD="https://www.openinfosecfoundation.org/download/suricata-4.1.2.tar.gz" -MD5SUM="8d50d031fc3848ad9a6694df97adacbe" +DOWNLOAD="https://www.openinfosecfoundation.org/download/suricata-6.0.4.tar.gz" +MD5SUM="6ef0583bbd771e80eae7d928d7735f02" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libnet" -- cgit v1.2.3