git: d81ae4eeae51 - main - dns/knot-resolver: make the rc scripts service jails aware

From: Alexander Leidinger <netchild_at_FreeBSD.org>
Date: Sun, 23 Jun 2024 16:47:39 UTC
The branch main has been updated by netchild:

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

commit d81ae4eeae5186f187f65060da1164114236106a
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2024-06-23 16:43:51 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2024-06-23 16:43:51 +0000

    dns/knot-resolver: make the rc scripts service jails aware
    
    PR:             279632
    Approved by:    maintainer
---
 dns/knot-resolver/Makefile             | 1 +
 dns/knot-resolver/files/krescachegc.in | 1 +
 dns/knot-resolver/files/kresd.in       | 1 +
 3 files changed, 3 insertions(+)

diff --git a/dns/knot-resolver/Makefile b/dns/knot-resolver/Makefile
index 34aea9772ce9..9bb5b7bf6fb0 100644
--- a/dns/knot-resolver/Makefile
+++ b/dns/knot-resolver/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	knot-resolver
 DISTVERSION=	5.7.2
+PORTREVISION=	1
 CATEGORIES=	dns
 MASTER_SITES=	https://secure.nic.cz/files/knot-resolver/ \
 		https://dns.company/downloads/knot-resolver/
diff --git a/dns/knot-resolver/files/krescachegc.in b/dns/knot-resolver/files/krescachegc.in
index 163d4101df9e..40334bea0bdc 100644
--- a/dns/knot-resolver/files/krescachegc.in
+++ b/dns/knot-resolver/files/krescachegc.in
@@ -21,6 +21,7 @@ load_rc_config ${name}
 
 # set defaults
 krescachegc_enable=${krescachegc_enable:-"NO"}
+: ${krescachegc_svcj_options:="net_basic"}
 krescachegc_millis=${krescachegc_millis:-"1000"}
 
 pidfile="%%RUNDIR%%/${name}.pid"
diff --git a/dns/knot-resolver/files/kresd.in b/dns/knot-resolver/files/kresd.in
index 9cc3d309a43f..0ddd5d332466 100644
--- a/dns/knot-resolver/files/kresd.in
+++ b/dns/knot-resolver/files/kresd.in
@@ -22,6 +22,7 @@ load_rc_config ${name}
 
 # set defaults
 kresd_enable=${kresd_enable:-"NO"}
+: ${kresd_svcj_options:="net_basic"}
 kresd_config=${kresd_config:-"%%ETCDIR%%/${name}.conf"}
 kresd_user="%%USERS%%"
 kresd_group="%%GROUPS%%"