git: b0a78ab23c58 - main - security/suricata: Update version 8.0.5=>8.0.6

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 08 Jul 2026 20:30:16 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b0a78ab23c58e5657aeb67e12b69035e08deb008

commit b0a78ab23c58e5657aeb67e12b69035e08deb008
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-07-08 19:43:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-07-08 20:29:57 +0000

    security/suricata: Update version 8.0.5=>8.0.6
    
    - Refactor rc script
    - Enable service jail [1]
    
    Changelog: https://forum.suricata.io/t/suricata-8-0-6-and-7-0-17-released/6391
    
    PR:             292369 [1]
    Reported by:    p+freebsd@krvtz.net [1]
---
 security/suricata/Makefile          |  6 ++----
 security/suricata/distinfo          |  6 +++---
 security/suricata/files/suricata.in | 17 +++++++++--------
 3 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/security/suricata/Makefile b/security/suricata/Makefile
index 6e04db32788d..1d2fd517c424 100644
--- a/security/suricata/Makefile
+++ b/security/suricata/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	suricata
-DISTVERSION=	8.0.5
-PORTREVISION=	1
+DISTVERSION=	8.0.6
 CATEGORIES=	security
 MASTER_SITES=	https://www.openinfosecfoundation.org/download/
 
@@ -20,7 +19,6 @@ LIB_DEPENDS=	libjansson.so:devel/jansson \
 
 USES=		autoreconf cpe gmake iconv:translit libtool localbase pathfix \
 		pkgconfig
-
 CPE_VENDOR=	openinfosecfoundation
 
 USE_LDCONFIG=	yes
@@ -30,8 +28,8 @@ GNU_CONFIGURE=		yes
 CONFIGURE_ARGS+=	--disable-gccmarch-native \
 			--enable-bundled-htp \
 			--enable-gccprotect
-MAKE_ENV=		RUSTFLAGS="${RUSTFLAGS} -C linker=${CC:Q} ${LDFLAGS:C/.+/-C link-arg=&/}"
 
+MAKE_ENV=		RUSTFLAGS="${RUSTFLAGS} -C linker=${CC:Q} ${LDFLAGS:C/.+/-C link-arg=&/}"
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
 
diff --git a/security/suricata/distinfo b/security/suricata/distinfo
index 4c6662c101bd..b37dc22ee1e6 100644
--- a/security/suricata/distinfo
+++ b/security/suricata/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1779639445
-SHA256 (suricata-8.0.5.tar.gz) = 04cad79a2a91499a729e41bfb570060c3cedb94cd5a5584d79582ebd18574ee0
-SIZE (suricata-8.0.5.tar.gz) = 44372362
+TIMESTAMP = 1783539696
+SHA256 (suricata-8.0.6.tar.gz) = b264584edda4a3b2b462050099c7c54f4f35ac0c7164e41084be9b216c090f8c
+SIZE (suricata-8.0.6.tar.gz) = 44411503
diff --git a/security/suricata/files/suricata.in b/security/suricata/files/suricata.in
index a3bed3557e60..2c7ab9f07506 100644
--- a/security/suricata/files/suricata.in
+++ b/security/suricata/files/suricata.in
@@ -11,7 +11,7 @@
 # suricata_flags (str):		Extra flags passed to suricata
 #				Default: -D
 # suricata_interface (str):	Network interface(s) to sniff
-#				Default: "" 
+#				Default: ""
 # suricata_conf (str):		Suricata configuration file
 #				Default: ${PREFIX}/etc/suricata/suricata.yaml
 # suricata_divertport (int):	Port to create divert socket (Inline Mode)
@@ -33,13 +33,14 @@ command="%%PREFIX%%/bin/suricata"
 
 load_rc_config $name
 
-[ -z "$suricata_enable" ]	&& suricata_enable="NO"
-[ -z "$suricata_conf" ]		&& suricata_conf="%%PREFIX%%/etc/suricata/suricata.yaml"
-[ -z "$suricata_flags" ]	&& suricata_flags="-D"
-[ -z "$suricata_divertport" ]	&& suricata_divertport="8000"
-[ -z "$suricata_netmap" ]	&& suricata_netmap="NO"
-[ -z "$suricata_user" ]		&& suricata_user="root"
-[ -z "$suricata_pidfile" ]	&& suricata_pidfile="/var/run/suricata.pid"
+suricata_enable=${suricata_enable:-"NO"}
+suricata_conf=${suricata_conf:-"%%PREFIX%%/etc/suricata/suricata.yaml"}
+suricata_flags=${suricata_flags:-"-D"}
+suricata_divertport=${suricata_divertport:-"8000"}
+suricata_netmap=${suricata_netmap:-"NO"}
+: ${suricata_svcj_options:="net_all"}
+$suricata_user=${suricata_user:-"root"}
+suricata_pidfile=${suricata_pidfile:-"/var/run/suricata.pid"}
 
 if [ -n "$suricata_interface" ]; then
 	for interface in $suricata_interface; do