git: 95ee83acc149 - main - dns/dnrd: make the rc script service jails aware

From: Alexander Leidinger <netchild_at_FreeBSD.org>
Date: Mon, 10 Jun 2024 11:10:21 UTC
The branch main has been updated by netchild:

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

commit 95ee83acc14944c775987e2d7087ba607b9e7ec4
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2024-06-10 11:09:09 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2024-06-10 11:09:49 +0000

    dns/dnrd: make the rc script service jails aware
---
 dns/dnrd/Makefile      | 2 +-
 dns/dnrd/files/dnrd.in | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/dns/dnrd/Makefile b/dns/dnrd/Makefile
index 82f524fa4d77..2cd649f4ae8d 100644
--- a/dns/dnrd/Makefile
+++ b/dns/dnrd/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	dnrd
 PORTVERSION=	2.20.3
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	dns
 MASTER_SITES=	SF
 
diff --git a/dns/dnrd/files/dnrd.in b/dns/dnrd/files/dnrd.in
index 1299de5e941e..4ce3d12fde92 100644
--- a/dns/dnrd/files/dnrd.in
+++ b/dns/dnrd/files/dnrd.in
@@ -18,6 +18,8 @@ rcvar=dnrd_enable
 command=%%PREFIX%%/sbin/${name}
 pidfile=/var/run/${name}.pid
 
+: ${dnrd_svcj_options:="net_basic"}
+
 load_rc_config ${name}
 
 case $1 in