aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2024-08-24 12:47:11 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2024-08-24 12:47:11 +0000
commitc9f63c5c714cbc0cb6138199aa071bb258f1b759 (patch)
tree524f53370ef2ed4d94cce2195821f263d86b7a26
parent983fb349a918ac58d25f5871e16ee2fbbc022aed (diff)
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
-rw-r--r--UPDATING10
-rw-r--r--dns/acme-dns/Makefile2
-rw-r--r--dns/acme-dns/files/acme_dns.in (renamed from dns/acme-dns/files/acme-dns.in)1
3 files changed, 12 insertions, 1 deletions
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
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"