git: b09f64622259 - main - security/{clamav,clamav-lts}: Add support of service jail to rc.d scripts

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Thu, 06 Jun 2024 10:23:18 UTC
The branch main has been updated by yasu:

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

commit b09f646222594181fb9d677a46fb0039ecd3613c
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2024-06-06 10:22:17 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-06-06 10:22:17 +0000

    security/{clamav,clamav-lts}: Add support of service jail to rc.d scripts
---
 security/clamav-lts/Makefile                  | 2 +-
 security/clamav-lts/files/clamav-clamd.in     | 2 ++
 security/clamav-lts/files/clamav-freshclam.in | 2 ++
 security/clamav-lts/files/clamav-milter.in    | 2 ++
 security/clamav/Makefile                      | 2 +-
 security/clamav/files/clamav-clamd.in         | 2 ++
 security/clamav/files/clamav-freshclam.in     | 2 ++
 security/clamav/files/clamav-milter.in        | 2 ++
 8 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/security/clamav-lts/Makefile b/security/clamav-lts/Makefile
index 8517af868516..9a1f8fa31720 100644
--- a/security/clamav-lts/Makefile
+++ b/security/clamav-lts/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	clamav
 DISTVERSION=	1.0.6
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	security
 MASTER_SITES=	https://www.clamav.net/downloads/production/
diff --git a/security/clamav-lts/files/clamav-clamd.in b/security/clamav-lts/files/clamav-clamd.in
index c6de79538080..ad640c7c45f0 100644
--- a/security/clamav-lts/files/clamav-clamd.in
+++ b/security/clamav-lts/files/clamav-clamd.in
@@ -19,6 +19,8 @@
 name=clamav_clamd
 rcvar=clamav_clamd_enable
 
+: ${clamav_clamd_svcj_options:="net_basic"}
+
 # read settings, set default values
 load_rc_config "$name"
 
diff --git a/security/clamav-lts/files/clamav-freshclam.in b/security/clamav-lts/files/clamav-freshclam.in
index a32de395b2c8..7aa838933cc3 100644
--- a/security/clamav-lts/files/clamav-freshclam.in
+++ b/security/clamav-lts/files/clamav-freshclam.in
@@ -19,6 +19,8 @@
 name=clamav_freshclam
 rcvar=clamav_freshclam_enable
 
+: ${clamav_freshclam_svcj_options:="net_basic"}
+
 # read settings, set default values
 load_rc_config ${name}
 
diff --git a/security/clamav-lts/files/clamav-milter.in b/security/clamav-lts/files/clamav-milter.in
index ab540d9034ff..610bf177f00b 100644
--- a/security/clamav-lts/files/clamav-milter.in
+++ b/security/clamav-lts/files/clamav-milter.in
@@ -18,6 +18,8 @@
 name=clamav_milter
 rcvar=clamav_milter_enable
 
+: ${clamav_milter_svcj_options:="net_basic"}
+
 load_rc_config $name
 
 : ${clamav_milter_enable:=NO}
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 8f224dd7ada4..654c5a5e4748 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	clamav
 DISTVERSION=	1.3.1
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	security
 MASTER_SITES=	https://www.clamav.net/downloads/production/
diff --git a/security/clamav/files/clamav-clamd.in b/security/clamav/files/clamav-clamd.in
index c6de79538080..ad640c7c45f0 100644
--- a/security/clamav/files/clamav-clamd.in
+++ b/security/clamav/files/clamav-clamd.in
@@ -19,6 +19,8 @@
 name=clamav_clamd
 rcvar=clamav_clamd_enable
 
+: ${clamav_clamd_svcj_options:="net_basic"}
+
 # read settings, set default values
 load_rc_config "$name"
 
diff --git a/security/clamav/files/clamav-freshclam.in b/security/clamav/files/clamav-freshclam.in
index a32de395b2c8..7aa838933cc3 100644
--- a/security/clamav/files/clamav-freshclam.in
+++ b/security/clamav/files/clamav-freshclam.in
@@ -19,6 +19,8 @@
 name=clamav_freshclam
 rcvar=clamav_freshclam_enable
 
+: ${clamav_freshclam_svcj_options:="net_basic"}
+
 # read settings, set default values
 load_rc_config ${name}
 
diff --git a/security/clamav/files/clamav-milter.in b/security/clamav/files/clamav-milter.in
index ab540d9034ff..610bf177f00b 100644
--- a/security/clamav/files/clamav-milter.in
+++ b/security/clamav/files/clamav-milter.in
@@ -18,6 +18,8 @@
 name=clamav_milter
 rcvar=clamav_milter_enable
 
+: ${clamav_milter_svcj_options:="net_basic"}
+
 load_rc_config $name
 
 : ${clamav_milter_enable:=NO}