aboutsummaryrefslogtreecommitdiffstats
path: root/dns/nsd/files/nsd.in
diff options
context:
space:
mode:
authordecke <decke@FreeBSD.org>2014-02-07 22:44:23 +0800
committerdecke <decke@FreeBSD.org>2014-02-07 22:44:23 +0800
commit62a110c23706f80942ee082274cf81e0e06fd125 (patch)
treeb790b874e485c51585af11ba6469970efce2d1c6 /dns/nsd/files/nsd.in
parentf8db2f362eb79abb66e6032ec7856bcb1b6063fd (diff)
downloadfreebsd-ports-gnome-62a110c23706f80942ee082274cf81e0e06fd125.tar.gz
freebsd-ports-gnome-62a110c23706f80942ee082274cf81e0e06fd125.tar.zst
freebsd-ports-gnome-62a110c23706f80942ee082274cf81e0e06fd125.zip
- Update to 4.0.1
- Cleanup rc script FEATURES: - recognizes ip-address and interface as synonyms for convenience. - Support for EUI48 and EUI64 RR types enabled by default (RFC 7043). - Support for CAA RRtype (RFC 6844). - NSID can be set with "ascii_somestring" in ascii. BUG FIXES: - Fix xfrd when zone transfer TCP contains zero length packets. - Fix for NSEC3 zones where parent zone is co-hosted, also NSEC3, because AXFRs overwrote nsec3 administration in the child zone. - Fix that bad IXFR updates do not result in double SOA records, and that an AXFR is started (attempted) when the zone state seems to be inconsistent with the master's zone state. - Log ip address for sendto and sendmmsg failures. - Fix segfaults after read of zones with rr type WKS from zonefile. - Seed PRNG for openssl at start of daemon, fixes SSL connection issue. - Bugfix #534: IXFR query loop over UDP for zones that are unchanged. - (same as in 3.2.16): fix wildcard cname to nxdomain repeated rrset. - (same as in 3.2.16): Bugfix #542: Match RRSIG TTL with SOA TTL in negative response. - Check if configure in srcdir collides with outofdir build. - Fix #546: output format errors in nsd_munin_ (Thanks Tom Hendrikx). - Fix printout of high-chars in TXT on NetBSD. PR: ports/186308 Submitted by: Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
Diffstat (limited to 'dns/nsd/files/nsd.in')
-rw-r--r--dns/nsd/files/nsd.in24
1 files changed, 4 insertions, 20 deletions
diff --git a/dns/nsd/files/nsd.in b/dns/nsd/files/nsd.in
index 206f83ae66f2..985435328fe2 100644
--- a/dns/nsd/files/nsd.in
+++ b/dns/nsd/files/nsd.in
@@ -17,32 +17,16 @@
name=nsd
rcvar=${name}_enable
-required_files=%%PREFIX%%/etc/nsd/nsd.conf
+config=${nsd_config:=%%PREFIX%%/etc/nsd/nsd.conf}
+required_files=${config}
command=%%PREFIX%%/sbin/nsd-control
command_args="start"
-pidfile=`%%PREFIX%%/sbin/nsd-checkconf -o pidfile %%PREFIX%%/etc/nsd/nsd.conf`
-procname=%%PREFIX%%/sbin/${name}
-
-load_rc_config ${name}
+pidfile=`%%PREFIX%%/sbin/nsd-checkconf -o pidfile ${config}`
-nsd_enable=${nsd_enable-"NO"}
+procname=%%PREFIX%%/sbin/${name}
extra_commands="reload"
-reload_cmd="${name}_reload"
-stop_cmd="${name}_stop"
-
-nsd_reload()
-{
- echo "Reloading ${name}."
- kill -HUP `cat $pidfile`
-}
-
-nsd_stop()
-{
- echo "Stopping ${name}."
- kill -TERM `cat $pidfile`
-}
run_rc_command "$1"