aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2024-06-11 11:53:14 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2024-06-11 11:54:26 +0000
commitf05e40a0476a776f3a9bb560c539936ba4e33721 (patch)
treea0977b138a603abc9b3e851cf7feb98c08b06a9b
parenta976cd003c68e9b4d983da1b29bb037cec99dfa4 (diff)
dns/pdnsd: make the rc script service jails aware
-rw-r--r--dns/pdnsd/Makefile2
-rw-r--r--dns/pdnsd/files/pdnsd.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/dns/pdnsd/Makefile b/dns/pdnsd/Makefile
index be1a39fe9874..6366a69cc561 100644
--- a/dns/pdnsd/Makefile
+++ b/dns/pdnsd/Makefile
@@ -1,6 +1,6 @@
PORTNAME= pdnsd
PORTVERSION= 1.2.9a
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= dns
MASTER_SITES= http://members.home.nl/p.a.rombouts/pdnsd/releases/ \
http://distfiles.pirateparty.in/ashish/
diff --git a/dns/pdnsd/files/pdnsd.in b/dns/pdnsd/files/pdnsd.in
index 0d497057301b..d7a0dbab6b66 100644
--- a/dns/pdnsd/files/pdnsd.in
+++ b/dns/pdnsd/files/pdnsd.in
@@ -11,6 +11,8 @@ rcvar=pdnsd_enable
command="%%PREFIX%%/sbin/pdnsd"
command_args="-d"
required_files="%%PREFIX%%/etc/pdnsd.conf"
+: ${pdnsd_svcj_options:="net_basic"}
+
load_rc_config $name
run_rc_command "$1"