From 62a110c23706f80942ee082274cf81e0e06fd125 Mon Sep 17 00:00:00 2001 From: decke Date: Fri, 7 Feb 2014 14:44:23 +0000 Subject: - 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 (maintainer) --- dns/nsd/Makefile | 2 +- dns/nsd/distinfo | 4 ++-- dns/nsd/files/nsd.in | 24 ++++-------------------- 3 files changed, 7 insertions(+), 23 deletions(-) (limited to 'dns') diff --git a/dns/nsd/Makefile b/dns/nsd/Makefile index 4b01a5dde577..29244e40f51f 100644 --- a/dns/nsd/Makefile +++ b/dns/nsd/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= nsd -PORTVERSION= 4.0.0 +PORTVERSION= 4.0.1 CATEGORIES= dns ipv6 MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/ \ ftp://ftp.rhnet.is/pub/nsd/ diff --git a/dns/nsd/distinfo b/dns/nsd/distinfo index 1f00e58dd429..a0143bd2ec13 100644 --- a/dns/nsd/distinfo +++ b/dns/nsd/distinfo @@ -1,2 +1,2 @@ -SHA256 (nsd-4.0.0.tar.gz) = 62608a409d0f68c9d8d4595031b9de9130ac02efe39733be5dee40d5a90e991c -SIZE (nsd-4.0.0.tar.gz) = 1035710 +SHA256 (nsd-4.0.1.tar.gz) = 45bf2adb5ceddc140eab36b8de9fa527175b77559662df1383ef22ccf097d1bd +SIZE (nsd-4.0.1.tar.gz) = 1040758 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" -- cgit