summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-08 22:38:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-08 22:38:33 +0700
commit3a53c156fcd38b0ea912625a09b873b8926b409a (patch)
treeefedb2e448ea4156abd1af9c01062f77ffa35dc3 /network
parent9a4609fd5977cc34f55461485190f102a17656c8 (diff)
downloadslackbuilds-3a53c156fcd38b0ea912625a09b873b8926b409a.tar.gz
network/suricata: Updated for version 6.0.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/suricata/suricata.SlackBuild8
-rw-r--r--network/suricata/suricata.info6
2 files changed, 9 insertions, 5 deletions
diff --git a/network/suricata/suricata.SlackBuild b/network/suricata/suricata.SlackBuild
index 83bbb6d08a..0cd133e2d7 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 a78981ddc6..663109f13c 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"