aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2016-03-14 14:59:14 +0800
committerohauer <ohauer@FreeBSD.org>2016-03-14 14:59:14 +0800
commitc9704863eb86f61dc28f1793790fceb490c41b3a (patch)
tree18764821c2cdd45fc34ebd2daea0d89729a1582d /dns
parent40a911174f0e13dc6bf39b0ada0f5b0cdc16e40f (diff)
downloadfreebsd-ports-gnome-c9704863eb86f61dc28f1793790fceb490c41b3a.tar.gz
freebsd-ports-gnome-c9704863eb86f61dc28f1793790fceb490c41b3a.tar.zst
freebsd-ports-gnome-c9704863eb86f61dc28f1793790fceb490c41b3a.zip
- update to 4.1.8
- add ability to build agains openssl or libressl from ports - add MUNIN_PLUGIN_IMPLIES= BIND8_STATS - use @sample macro in pkg-plist for nsd.conf - s/exec/postexec/ pkg-plist FEATURES: - #732: tcp-mss, outgoing-tcp-mss options for nsd.conf, patch from Daisuke Higashi. - #739: zonefile changes when mtime is small are detected on reload, if filesystem supports precision mtime values. - RR type CSYNC (RFC7477) syntax is supported. BUG FIXES: - take advantage of arc4random_uniform if available, patch from Loganaden Velvindron. - Fix flto check for OSX clang. - Define _DEFAULT_SOURCE with _BSD_SOURCE for glibc 2.20 on Linux. - Fix #736: segfault during zone transfer. - Fix #744: Fix that NSD replies for configured but unloaded zone with SERVFAIL, not REFUSED. PR: 207951 Submitted by: jaap@NLnetLabs.nl (maintainer) MFH: 2016Q1
Diffstat (limited to 'dns')
-rw-r--r--dns/nsd/Makefile5
-rw-r--r--dns/nsd/distinfo4
-rw-r--r--dns/nsd/pkg-plist6
3 files changed, 9 insertions, 6 deletions
diff --git a/dns/nsd/Makefile b/dns/nsd/Makefile
index e0cc3ee36c99..7eb74401f950 100644
--- a/dns/nsd/Makefile
+++ b/dns/nsd/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= nsd
-PORTVERSION= 4.1.7
+PORTVERSION= 4.1.8
CATEGORIES= dns ipv6
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/ \
ftp://ftp.rhnet.is/pub/nsd/
@@ -33,6 +33,7 @@ CONFIGURE_ARGS= --with-libevent=${LOCALBASE} \
--with-configdir=${ETCDIR} \
--localstatedir=${NSDLSDIR} \
--with-dbfile=${NSDDBDIR}/nsd.db \
+ --with-ssl=${OPENSSLBASE} \
--with-pidfile=${NSDRUNDIR}/nsd.pid
PLIST_SUB= NSDUSER=${NSDUSER} \
@@ -55,6 +56,8 @@ OPTIONS_DEFINE= ROOT_SERVER LARGEFILE IPV6 BIND8_STATS CHECKING \
OPTIONS_DEFAULT= LARGEFILE IPV6 NSEC3 MINRESPSIZE RRL
OPTIONS_SUB= yes
+MUNIN_PLUGIN_IMPLIES= BIND8_STATS
+
ROOT_SERVER_DESC= Configure as a root server
LARGEFILE_DESC= Largefile support
BIND8_STATS_DESC= BIND8-like NSTATS & XSTATS
diff --git a/dns/nsd/distinfo b/dns/nsd/distinfo
index 59bc4c820cac..115bfba1f4f5 100644
--- a/dns/nsd/distinfo
+++ b/dns/nsd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (nsd-4.1.7.tar.gz) = 7ba8beb29b495ab795e927d9aa82a5bb1b66296a78f61ed47d6ccfe59e9b1a8a
-SIZE (nsd-4.1.7.tar.gz) = 1072576
+SHA256 (nsd-4.1.8.tar.gz) = 34bc9babfeca18cf3ea1d8d61f7a9b7fcc5253b4d5f78ddc9691244590554c82
+SIZE (nsd-4.1.8.tar.gz) = 1073103
diff --git a/dns/nsd/pkg-plist b/dns/nsd/pkg-plist
index 93f0abe8abc1..52b963e710bd 100644
--- a/dns/nsd/pkg-plist
+++ b/dns/nsd/pkg-plist
@@ -1,4 +1,4 @@
-%%ETCDIR%%/nsd.conf.sample
+@sample %%ETCDIR%%/nsd.conf.sample
man/man5/nsd.conf.5.gz
man/man8/nsd-checkconf.8.gz
man/man8/nsd-checkzone.8.gz
@@ -12,5 +12,5 @@ sbin/nsd-control-setup
%%MUNIN_PLUGIN%%share/munin/plugins/nsd_munin_
@dir(%%NSDUSER%%,%%NSDGROUP%%,0755) %%NSDRUNDIR%%
@dir(%%NSDUSER%%,%%NSDGROUP%%,0755) %%NSDDBDIR%%
-@exec chown -R %%NSDUSER%%:%%NSDGROUP%% %%NSDRUNDIR%%
-@exec chown -R %%NSDUSER%%:%%NSDGROUP%% %%NSDDBDIR%%
+@postexec chown -R %%NSDUSER%%:%%NSDGROUP%% %%NSDRUNDIR%%
+@postexec chown -R %%NSDUSER%%:%%NSDGROUP%% %%NSDDBDIR%%