aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2017-12-02 20:37:22 +0800
committerpi <pi@FreeBSD.org>2017-12-02 20:37:22 +0800
commita2fa601403b9fb20fe24a0919ac6f8ea60eda80f (patch)
tree5d016ca48f7490f38f1651cffcb41bc04a3faddf /dns
parent6afa37347a269bc59601ac4b9f11a0e868ed6f51 (diff)
downloadfreebsd-ports-gnome-a2fa601403b9fb20fe24a0919ac6f8ea60eda80f.tar.gz
freebsd-ports-gnome-a2fa601403b9fb20fe24a0919ac6f8ea60eda80f.tar.zst
freebsd-ports-gnome-a2fa601403b9fb20fe24a0919ac6f8ea60eda80f.zip
dns/nsd: update 4.1.17 -> 4.1.18
This release has features for saving memory and faster notification. With --enable-packed, 33% memory savings could be had, or something along that size. Notification of secondary servers happens in parallel, and has faster timeouts. More sockets are used for zone transfers. This speeds up communication with a larger set of servers. Additionally a bug is fixed for dual-loaded parent-and-child zone configured at the same time, when one of the zones has not loaded properly. FEATURES: - xfr-inspect, it is not installed, it prints xfr files from /tmp made with 'make xfr-inspect' in the source dir. - retry timeout between sending notifies dropped from 15 to 3 sec. - NSD sends 16 notifies simultaneously. - configure --enable-packed reduces memory usage, at expense of unaligned reads. Saves about 17%. - Save memory by selectively allocate precompiled nsec3 hashes, saves about 16% memory. - make ip-transparent option work on OpenBSD. - Save about 2% memory by changing usage count size in name tree. - Fix #2871: Increase number of sockets for xfrd transfers. BUG FIXES: - Fix gcc 7.1.1 warnings. - Fix writev compile warning on FreeBSD. - Fix #1446: A corrupted zone file "propagates" to good ones. - nsd-control zonestatus prints wait time between attempts, for zones that are in that waiting time. - Fix collision printout of nsec3 to print name, hash and reverse. - Fix #1567: Change crit to err log level for gettimeofday failure. Add defines for compile without syslog. - Fix crash for DS query when parent and child zones both configured in nsd.conf and parent zone has not loaded properly. PR: 224025 Submitted by: jaap@NLnetLabs.nl (maintainer)
Diffstat (limited to 'dns')
-rw-r--r--dns/nsd/Makefile6
-rw-r--r--dns/nsd/distinfo6
2 files changed, 7 insertions, 5 deletions
diff --git a/dns/nsd/Makefile b/dns/nsd/Makefile
index 2328c0b02c4a..742a20209a8f 100644
--- a/dns/nsd/Makefile
+++ b/dns/nsd/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= nsd
-PORTVERSION= 4.1.17
+PORTVERSION= 4.1.18
CATEGORIES= dns ipv6
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/ \
ftp://ftp.rhnet.is/pub/nsd/
@@ -51,7 +51,7 @@ PORTDOCS= CREDITS ChangeLog LICENSE NSD-DATABASE NSD-DIFFFILE \
OPTIONS_DEFINE= ROOT_SERVER LARGEFILE IPV6 BIND8_STATS CHECKING \
MINRESPSIZE NSEC3 MMAP DOCS RRL ZONE_STATS MUNIN_PLUGIN \
- RADIXTREE
+ RADIXTREE PACKED
OPTIONS_DEFAULT= LARGEFILE NSEC3 MINRESPSIZE RRL RADIXTREE
OPTIONS_SUB= yes
@@ -68,6 +68,7 @@ RRL_DESC= Response Rate Limiting
ZONE_STATS_DESC= Separate statistics for each zone
MUNIN_PLUGIN_DESC= Install Munin plugin (requires BIND8_STATS)
RADIXTREE_DESC= Enabled: more (15%) memory use but less CPU cycles
+PACKED_DESC= Enable packed structures for reduced memory use
LIB_DEPENDS+= libevent.so:devel/libevent
@@ -82,6 +83,7 @@ RRL_CONFIGURE_ENABLE= ratelimit
ZONE_STATS_CONFIGURE_ENABLE= zone-stats
IPV6_CONFIGURE_ENABLE= ipv6
RADIXTREE_CONFIGURE_ENABLE= radix-tree
+PACKED_CONFIGURE_ENABLE= packed
post-build-MUNIN_PLUGIN-on:
${REINPLACE_CMD} \
diff --git a/dns/nsd/distinfo b/dns/nsd/distinfo
index e65d1dc64518..354e127221c0 100644
--- a/dns/nsd/distinfo
+++ b/dns/nsd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1501201542
-SHA256 (nsd-4.1.17.tar.gz) = 107fa506d18ed6fd0a922d1b96774afd9270ec38ec6b17cd7c46fb9433a03a6c
-SIZE (nsd-4.1.17.tar.gz) = 1089526
+TIMESTAMP = 1512051203
+SHA256 (nsd-4.1.18.tar.gz) = 8c1db23c5ad44c6410874161e78f785475d3f08ed0daae57fe56c44e33a89c0f
+SIZE (nsd-4.1.18.tar.gz) = 1095673