Commit 0be781f6 authored by Duncan Bellamy's avatar Duncan Bellamy Committed by Leo
Browse files

community/suricata: upgrade to 5.0.4

* add hyperscan support for X86 and x86_64
* fixes #8272

remove unused variable

fix patch name
parent 7b79c0c1
Pipeline #54082 skipped
......@@ -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"
Add link name needed for ppc64
--- a/rust/src/json.rs.orig
+++ b/rust/src/json.rs
@@ -25,6 +25,7 @@
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment