aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Bellamy <dunk@denkimushi.com>2020-10-19 06:55:03 +0000
committerLeo <thinkabit.ukim@gmail.com>2020-10-19 09:35:11 +0000
commit0be781f62a9e622f9fc062c432340dc2c6e91ae8 (patch)
treedc4afd6bbf10e411b8747068893b74fc7619534f
parent7b79c0c11daa0cac2d924bd4f81f08338b72b4e2 (diff)
downloadaports-0be781f62a9e622f9fc062c432340dc2c6e91ae8.tar.gz
aports-0be781f62a9e622f9fc062c432340dc2c6e91ae8.tar.bz2
aports-0be781f62a9e622f9fc062c432340dc2c6e91ae8.tar.xz
community/suricata: upgrade to 5.0.4
* add hyperscan support for X86 and x86_64 * fixes #8272 remove unused variable fix patch name
-rw-r--r--community/suricata/APKBUILD13
-rw-r--r--community/suricata/suricata-json-ppc64le.patch2
2 files changed, 11 insertions, 4 deletions
diff --git a/community/suricata/APKBUILD b/community/suricata/APKBUILD
index 65b6bafae8..b307c74b17 100644
--- a/community/suricata/APKBUILD
+++ b/community/suricata/APKBUILD
@@ -2,8 +2,8 @@
# Contributor: Stuart Cardall <developer at it-offshore dot co.uk>
# Maintainer: Steve McMaster <code@mcmaster.io>
pkgname=suricata
-pkgver=5.0.3
-pkgrel=1
+pkgver=5.0.4
+pkgrel=0
pkgdesc="High performance Network IDS, IPS and Network Security Monitoring engine"
url="https://suricata-ids.org/"
# mips, s390x lacks rust support
@@ -24,6 +24,11 @@ source="https://www.openinfosecfoundation.org/download/suricata-$pkgver.tar.gz
$pkgname-json-ppc64le.patch
"
+case "$CARCH" in
+ x86|x86_64)
+ makedepends="$makedepends hyperscan-dev" ;;
+esac
+
prepare() {
default_prepare
autoreconf -vif
@@ -67,8 +72,8 @@ package() {
mkdir -p "$pkgdir"/etc/$pkgname/rules
install -Dm644 "$builddir"/rules/*.rules "$pkgdir"/etc/$pkgname/rules/
}
-sha512sums="4e0ad2ae33537cb074d549b3cc162c5ed115605cb142a96cbf66d1341799eaad96b307fd6ad4679e344e51d00065b3573bfb26bd60468f12addb144b112e4f72 suricata-5.0.3.tar.gz
+sha512sums="e5da14f80b628968e146839b828971e888fd0158b2ecbbcc15c0f42fda2bdcc8ad89632ba05cc45c88d88e537452e77f8e2f3a5e09ecd038d0d38b1a8cf8cea6 suricata-5.0.4.tar.gz
ed7c78a80192f3f3ed433330df323beccb6079b5413289b9e9faa3fceea2c536de93de7372968d8605abd1618d73c9319ee39d86b16eed22e7313c8667252f5d suricata.confd
258c6d60fc878dc1c7b7bf93cc758080050f591084a1edf7f1aac81ccb523c73615716616fedd0269f9ac5ef2fa7adcb3e2cefd714754bac5571e9806b6781be suricata.initd
4f76a35bcde78c9860701897fe19bb84cc46bbc429124c4cb2e94cf3330f00ebe8067c0d7f3f83478e9b95323adb947e5081658f455657c4d03c682abe707534 suricata.logrotate
-e9405c8b500abff960f38965e2c7f1aaa88dbff800959492d9aff4c09d479d681e64bca6d987af6c75d1901f44749cf07db765e68a0dc953b6ca41440dccb19d suricata-json-ppc64le.patch"
+1db0f9941d689a1bf83910692458fa204f684cb966c64c54f4900233bc37eda716cae76efc411faf06e8035982e6d45685b95e187c7f3de4b77add5a40c5ae99 suricata-json-ppc64le.patch"
diff --git a/community/suricata/suricata-json-ppc64le.patch b/community/suricata/suricata-json-ppc64le.patch
index d3c36158fa..058ca68280 100644
--- a/community/suricata/suricata-json-ppc64le.patch
+++ b/community/suricata/suricata-json-ppc64le.patch
@@ -1,3 +1,5 @@
+Add link name needed for ppc64
+
--- a/rust/src/json.rs.orig
+++ b/rust/src/json.rs
@@ -25,6 +25,7 @@