From 09f29463d4ab6aeedf34fc7afbd25a0c1da6dbc6 Mon Sep 17 00:00:00 2001
From: Duncan Bellamy <dunk@denkimushi.com>
Date: Fri, 23 Jul 2021 20:04:02 +0000
Subject: [PATCH 1/2] community/suricata: upgrade to 6.0.3

---
 community/suricata/APKBUILD | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/community/suricata/APKBUILD b/community/suricata/APKBUILD
index 194d06b0ee99..cbd6c3bde757 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=6.0.2
-pkgrel=2
+pkgver=6.0.3
+pkgrel=0
 pkgdesc="High performance Network IDS, IPS and Network Security Monitoring engine"
 url="https://suricata-ids.org/"
 # s390x and mips lacks rust support
@@ -24,6 +24,10 @@ source="https://www.openinfosecfoundation.org/download/suricata-$pkgver.tar.gz
 	10-nflog.patch
 	"
 
+# secfixes:
+#   6.0.3-r0:
+#    - CVE-2021-35063
+
 case "$CARCH" in
 	x86|x86_64)
 		_lua="--enable-luajit"
@@ -81,8 +85,10 @@ package() {
 	mkdir -p "$pkgdir"/etc/$pkgname/rules
 	install -Dm644 "$builddir"/rules/*.rules "$pkgdir"/etc/$pkgname/rules/
 }
-sha512sums="230a74a5442cfa066c56528036b64c173702238c5075161119eaad08d320e528d3510c51095297f120030177fed9c84076d00f567f7a3a4cbdb23d382966cf00  suricata-6.0.2.tar.gz
+sha512sums="
+186b871959988ca7cbd0d69e725aed18af915f93363c7ecc0ffa20d8ad8f50a326be08452d085772b1df84ef25258ef0dd6b35d41b0988cb1c653e60aeb103a2  suricata-6.0.3.tar.gz
 ed7c78a80192f3f3ed433330df323beccb6079b5413289b9e9faa3fceea2c536de93de7372968d8605abd1618d73c9319ee39d86b16eed22e7313c8667252f5d  suricata.confd
 258c6d60fc878dc1c7b7bf93cc758080050f591084a1edf7f1aac81ccb523c73615716616fedd0269f9ac5ef2fa7adcb3e2cefd714754bac5571e9806b6781be  suricata.initd
 4f76a35bcde78c9860701897fe19bb84cc46bbc429124c4cb2e94cf3330f00ebe8067c0d7f3f83478e9b95323adb947e5081658f455657c4d03c682abe707534  suricata.logrotate
-e0e5a03c9b681bd1b5ac44b450ae896f32c99cd95a9247ad075b5a1428ae2c476d93abc449c20e43ae472edbc0b6a4f00b1b9b022a5eea7bb086fcc0accd42ed  10-nflog.patch"
+e0e5a03c9b681bd1b5ac44b450ae896f32c99cd95a9247ad075b5a1428ae2c476d93abc449c20e43ae472edbc0b6a4f00b1b9b022a5eea7bb086fcc0accd42ed  10-nflog.patch
+"
-- 
GitLab


From 947cc1f0d1f6cf2c90b4932b9f68938435bee870 Mon Sep 17 00:00:00 2001
From: Duncan Bellamy <dunk@denkimushi.com>
Date: Fri, 23 Jul 2021 20:57:49 +0000
Subject: [PATCH 2/2] community/libhtp: upgrade to 0.5.38

---
 community/libhtp/APKBUILD | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/community/libhtp/APKBUILD b/community/libhtp/APKBUILD
index db654012b0d6..cc57183727c2 100644
--- a/community/libhtp/APKBUILD
+++ b/community/libhtp/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Steve McMaster <code@mcmaster.io>
 # Maintainer: Steve McMaster <code@mcmaster.io>
 pkgname=libhtp
-pkgver=0.5.37
+pkgver=0.5.38
 pkgrel=0
 pkgdesc="HTTP normalizer and parser library"
 url="https://github.com/OISF/libhtp"
@@ -37,4 +37,6 @@ check() {
 	make check
 }
 
-sha512sums="e2a16862703e2541cecb841bc93fe1ea72f580fb5ed2c54583072bee4843b41510dae53a0e76105d2ee2e06ea5e3410c280296a98fbf8e24f7cf2705356bb9e2  libhtp-0.5.37.tar.gz"
+sha512sums="
+6f2aa3b564948bde738ff60b917d64ffdcb71bbd5b25f11270ce16400fab6b8aab5c0e2372aff7f6be8818efab4b90843df527604835547691a4585fec9a19fe  libhtp-0.5.38.tar.gz
+"
-- 
GitLab