git: bda53c17a360 - main - dns/utdns: Make rc.d script service jails ready

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Mon, 10 Jun 2024 17:07:15 UTC
The branch main has been updated by ehaupt:

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

commit bda53c17a360a9b088b8aadbbf6a24970e74202b
Author:     Alexander Leidinger <Alexander@Leidinger.net>
AuthorDate: 2024-06-10 17:06:53 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-06-10 17:06:53 +0000

    dns/utdns: Make rc.d script service jails ready
    
    * Make rc.d script service jails ready
    * While here portlint, portclippy, portfmt
---
 dns/utdns/Makefile       | 10 ++++++----
 dns/utdns/files/utdns.in |  1 +
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/dns/utdns/Makefile b/dns/utdns/Makefile
index 8e1e1e12fb1d..b91e6a435cf0 100644
--- a/dns/utdns/Makefile
+++ b/dns/utdns/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	utdns
-PORTVERSION=	1.1
 DISTVERSIONPREFIX=	v
+DISTVERSION=	1.1
+PORTREVISION=	1
 CATEGORIES=	dns
 
 MAINTAINER=	ehaupt@FreeBSD.org
@@ -11,14 +12,15 @@ LICENSE=	GPLv3
 
 USES=		autoreconf
 USE_GITHUB=	yes
-GNU_CONFIGURE=	yes
+GH_ACCOUNT=	rahra
 USE_RC_SUBR=	${PORTNAME}
-SUB_LIST=	PORTNAME=${PORTNAME}
 
-GH_ACCOUNT=	rahra
+GNU_CONFIGURE=	yes
 
 CFLAGS+=	-DSOCK_NONBLOCK=1
 
+SUB_LIST=	PORTNAME=${PORTNAME}
+
 PLIST_FILES=	bin/utdns
 
 .include <bsd.port.mk>
diff --git a/dns/utdns/files/utdns.in b/dns/utdns/files/utdns.in
index 444e0376ce63..795be4549ed8 100644
--- a/dns/utdns/files/utdns.in
+++ b/dns/utdns/files/utdns.in
@@ -19,6 +19,7 @@ rcvar="${name}_enable"
 load_rc_config ${name}
 
 : ${utdns_enable:="NO"}
+: ${utdns_svcj_options:="net_basic"}
 : ${utdns_flags:=" -b -4 -p 53 0.0.0.0"}
 
 command="%%PREFIX%%/bin/${name}"