Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 2024 12:54:22 GMT
From:      Alexander Leidinger <netchild@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c9f63c5c714c - main - dns/acme-dns: make service jails aware
Message-ID:  <202408241254.47OCsMdK031477@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by netchild:

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

commit c9f63c5c714cbc0cb6138199aa071bb258f1b759
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2024-08-24 12:47:11 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2024-08-24 12:47:11 +0000

    dns/acme-dns: make service jails aware
    
    Add a basic config for service jails and rename the start script
    to make it comply to the rc-docs.
    
    PR:             279625
    Approved by:    maintainer
---
 UPDATING                                        | 10 ++++++++++
 dns/acme-dns/Makefile                           |  2 +-
 dns/acme-dns/files/{acme-dns.in => acme_dns.in} |  1 +
 3 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/UPDATING b/UPDATING
index bd36e7454865..f99441480888 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,16 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20240824:
+  AFFECTS: dns/acme-dns
+  AUTHOR: netchildFreeBSD.org
+
+  The start script of acme-dns has been renamed to acme_dns for improved
+  compatibility with other parts of the system. The automatic start at
+  boot (rc.conf variable settings) is not affected, but if you have some
+  other automatism you may want to change
+  ".../etc/rc.d/acme-dns" to ".../etc/rc.d/acme_dns"
+
 20240816:
   AFFECTS: users of databases/redis
   AUTHOR: yasu@FreeBSD.org
diff --git a/dns/acme-dns/Makefile b/dns/acme-dns/Makefile
index a387bef7e806..1b2d52e9c04f 100644
--- a/dns/acme-dns/Makefile
+++ b/dns/acme-dns/Makefile
@@ -69,7 +69,7 @@ GH_TUPLE=		\
 			yudai:golcs:ecda9a501e82:yudai_golcs/vendor/github.com/yudai/golcs \
 			yudai:pp:v2.0.1:yudai_pp/vendor/github.com/yudai/pp
 
-USE_RC_SUBR=		acme-dns
+USE_RC_SUBR=		acme_dns
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|etc\/acme-dns|usr\/local\/etc\/acme-dns|' ${WRKSRC}/main.go
diff --git a/dns/acme-dns/files/acme-dns.in b/dns/acme-dns/files/acme_dns.in
similarity index 94%
rename from dns/acme-dns/files/acme-dns.in
rename to dns/acme-dns/files/acme_dns.in
index 1b0b0e8e0d1e..aa60466036ed 100644
--- a/dns/acme-dns/files/acme-dns.in
+++ b/dns/acme-dns/files/acme_dns.in
@@ -24,6 +24,7 @@ load_rc_config $name
 : ${acme_dns_pidfile="/var/run/acme-dns/acme-dns.pid"}
 : ${acme_dns_log="/var/log/acme-dns.log"}
 : ${acme_dns_args=""}
+: ${acme_dns_svcj_options:="net_basic"}
 
 pidfile=${acme_dns_pidfile}
 command="/usr/sbin/daemon"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408241254.47OCsMdK031477>