Hello, Update for Suricata to 7.0.4:
https://github.com/OISF/suricata/releases/tag/suricata-7.0.4 OK? Comments? Cheers.- Index: Makefile =================================================================== RCS file: /cvs/ports/security/suricata/Makefile,v retrieving revision 1.67 diff -u -p -r1.67 Makefile --- Makefile 23 Mar 2024 13:26:40 -0000 1.67 +++ Makefile 25 Mar 2024 12:23:41 -0000 @@ -3,9 +3,8 @@ NOT_FOR_ARCHS = powerpc64 riscv64 COMMENT = high performance network IDS, IPS and security monitoring -SURICATA_V = 7.0.3 -SUPDATE_V = 1.2.8 -REVISION = 1 +SURICATA_V = 7.0.4 +SUPDATE_V = 1.3.2 DISTNAME = suricata-${SURICATA_V} CATEGORIES = security Index: distinfo =================================================================== RCS file: /cvs/ports/security/suricata/distinfo,v retrieving revision 1.22 diff -u -p -r1.22 distinfo --- distinfo 22 Feb 2024 09:49:35 -0000 1.22 +++ distinfo 25 Mar 2024 12:23:41 -0000 @@ -1,2 +1,2 @@ -SHA256 (suricata-7.0.3.tar.gz) = 6gdC16mHg/GvSldmGvYGi8LYUKw+ygSzIE0ozhZeNf8= -SIZE (suricata-7.0.3.tar.gz) = 23599903 +SHA256 (suricata-7.0.4.tar.gz) = ZABgEgAkvnDb6B9uxu/HLkYlD8s2IZ3/Z+ZBciD/Ibc= +SIZE (suricata-7.0.4.tar.gz) = 23610769 Index: patches/patch-src_suricata_c =================================================================== RCS file: /cvs/ports/security/suricata/patches/patch-src_suricata_c,v retrieving revision 1.14 diff -u -p -r1.14 patch-src_suricata_c --- patches/patch-src_suricata_c 18 Mar 2024 17:46:37 -0000 1.14 +++ patches/patch-src_suricata_c 25 Mar 2024 12:23:41 -0000 @@ -4,7 +4,7 @@ Suricata uses libcap-ng on Linux and run Index: src/suricata.c --- src/suricata.c.orig +++ src/suricata.c -@@ -1600,7 +1600,7 @@ static TmEcode ParseCommandLine(int argc, char** argv, +@@ -1597,7 +1597,7 @@ static TmEcode ParseCommandLine(int argc, char** argv, return TM_ECODE_FAILED; #endif /* UNITTESTS */ } else if (strcmp((long_opts[option_index]).name, "user") == 0) { @@ -13,7 +13,7 @@ Index: src/suricata.c SCLogError("libcap-ng is required to" " drop privileges, but it was not compiled into Suricata."); return TM_ECODE_FAILED; -@@ -1609,7 +1609,7 @@ static TmEcode ParseCommandLine(int argc, char** argv, +@@ -1606,7 +1606,7 @@ static TmEcode ParseCommandLine(int argc, char** argv, suri->do_setuid = TRUE; #endif /* HAVE_LIBCAP_NG */ } else if (strcmp((long_opts[option_index]).name, "group") == 0) { @@ -22,11 +22,3 @@ Index: src/suricata.c SCLogError("libcap-ng is required to" " drop privileges, but it was not compiled into Suricata."); return TM_ECODE_FAILED; -@@ -3036,6 +3036,7 @@ int SuricataMain(int argc, char **argv) - SystemHugepageSnapshotDestroy(prerun_snap); - SystemHugepageSnapshotDestroy(postrun_snap); - -+ SCSetUserID(suricata.userid, suricata.groupid); - SCPledge(); - SuricataMainLoop(&suricata); - -- %gonzalo