Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2014 11:20:42 +0000 (UTC)
From:      Erwin Lansing <erwin@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367332 - in head: . dns/nsd
Message-ID:  <201409051120.s85BKgeu054337@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: erwin
Date: Fri Sep  5 11:20:42 2014
New Revision: 367332
URL: http://svnweb.freebsd.org/changeset/ports/367332
QAT: https://qat.redports.org/buildarchive/r367332/

Log:
  - Update to 4.1.0
  - Use nsd instead of bind user
  
  This release has new features and bugfixes.  In nsd.conf you can
  configure database: "" this makes NSD not use the large mmapped nsd.db
  file, but instead read and write the zonefiles in text format, which
  saves about 50% of the memory usage.  Also zonefile reading and
  writing has been optimised to be faster, as well as processing time
  for zone transfers.  NSD writes the (changed) zonefiles every hour.
  
  The new nsd-checkzone tool reports if a zonefile parses so you can check
  it before reading it into the daemon.
  
  A bug is fixed where NSD 4 causes rising load average and memory
  consumption on Linux systems, which is caused by a bug in Linux that
  slowly deteriorates system performance by repeated recursive forks.
  
  Full release notes: http://open.nlnetlabs.nl/pipermail/nsd-users/2014-September/002007.html
  
  PR:		193332
  Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
  Sponsored by:	DK Hostmaster A/S

Modified:
  head/GIDs
  head/UIDs
  head/dns/nsd/Makefile
  head/dns/nsd/distinfo
  head/dns/nsd/pkg-plist

Modified: head/GIDs
==============================================================================
--- head/GIDs	Fri Sep  5 09:54:24 2014	(r367331)
+++ head/GIDs	Fri Sep  5 11:20:42 2014	(r367332)
@@ -124,6 +124,7 @@ git:*:211:
 hg:*:212:
 drizzle:*:213:
 opendnssec:*:215:
+nsd:*:216:
 bs:*:220:
 rtpproxy:*:222:
 postgrey:*:225:

Modified: head/UIDs
==============================================================================
--- head/UIDs	Fri Sep  5 09:54:24 2014	(r367331)
+++ head/UIDs	Fri Sep  5 11:20:42 2014	(r367332)
@@ -128,6 +128,7 @@ git:*:211:211::0:0:gitosis user:/usr/loc
 hg:*:212:212::0:0:mercurial-server user:/usr/local/hg:/bin/sh
 drizzle:*:213:213::0:0:Drizzle daemon:/var/db/drizzle:/usr/sbin/nologin
 opendnssec:*:215:215::0:0:Opendnssec Pseudo User:/nonexistent:/usr/sbin/nologin
+nsd:*:216:216::0:0:Opendnssec Pseudo User:/nonexistent:/usr/sbin/nologin
 bs:*:220:220::0:0:Big Sister:/usr/local/bigsister:/bin/sh
 rtpproxy:*:222:222::0:0:& user:/nonexistent:/sbin/nologin
 postgrey:*:225:225::0:0:Postgrey Owner:/nonexistent:/usr/sbin/nologin

Modified: head/dns/nsd/Makefile
==============================================================================
--- head/dns/nsd/Makefile	Fri Sep  5 09:54:24 2014	(r367331)
+++ head/dns/nsd/Makefile	Fri Sep  5 11:20:42 2014	(r367332)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	nsd
-PORTVERSION=	4.0.3
-PORTREVISION=	1
+PORTVERSION=	4.1.0
 CATEGORIES=	dns ipv6
 MASTER_SITES=	http://www.nlnetlabs.nl/downloads/nsd/	\
 		ftp://ftp.rhnet.is/pub/nsd/
@@ -17,8 +16,8 @@ CONFLICTS=	nsd-[0-3]* nsd3-[0-9]*
 
 USE_RC_SUBR=	nsd
 
-NSDUSER?=	bind
-NSDGROUP?=	bind
+NSDUSER?=	nsd
+NSDGROUP?=	nsd
 NSDLSDIR=	/var
 NSDDBDIR=	/var/db/nsd
 NSDRUNDIR=	/var/run/nsd
@@ -37,6 +36,9 @@ PLIST_SUB=	NSDUSER=${NSDUSER} \
 		NSDDBDIR=${NSDDBDIR} \
 		NSDRUNDIR=${NSDRUNDIR}
 
+USERS=		${NSDUSER}
+GROUPS=		${NSDGROUP}
+
 USE_OPENSSL=	yes
 
 PORTDOCS=	CREDITS ChangeLog LICENSE NSD-DATABASE NSD-DIFFFILE \
@@ -45,23 +47,18 @@ PORTDOCS=	CREDITS ChangeLog LICENSE NSD-
 		differences.tex
 
 OPTIONS_DEFINE=		ROOT_SERVER LARGEFILE IPV6 BIND8_STATS CHECKING \
-		MINRESPSIZE NSEC3 NSEC3PREHASH MMAP MAXIPS DOCS RRL EUI_RRTYPES \
-		RECVMMSG
-OPTIONS_DEFAULT=	LARGEFILE IPV6 NSEC3 NSEC3PREHASH MINRESPSIZE RRL \
-		EUI_RRTYPES
+		MINRESPSIZE NSEC3 MMAP MAXIPS DOCS RRL
+OPTIONS_DEFAULT=	LARGEFILE IPV6 NSEC3 MINRESPSIZE RRL
 
 ROOT_SERVER_DESC=	Configure as a root server
 LARGEFILE_DESC=		Largefile support
 BIND8_STATS_DESC=	BIND8-like NSTATS & XSTATS
 CHECKING_DESC=		Internal run-time checks
 NSEC3_DESC=		NSEC3 support
-NSEC3PREHASH_DESC=	Full NSEC3 pre-hashing
 MINRESPSIZE_DESC=	Minimial response sizing
 MMAP_DESC=		Use mmap instead of malloc (experimental)
 MAXIPS_DESC=		Raise max-ips from 8 to ${NSDMAX_IPS}
 RRL_DESC=		Response Rate Limiting
-EUI_RRTYPES_DESC=	EUI48 and EUI64 RRtypes support
-RECVMMSG_DESC=		Enable use of recvmmsg and sendmmsg
 
 LIB_DEPENDS+=	libevent.so:${PORTSDIR}/devel/libevent2
 
@@ -72,17 +69,18 @@ BIND8_STATS_CONFIGURE_ENABLE=	bind8-stat
 CHECKING_CONFIGURE_ENABLE=	checking
 NSEC3_CONFIGURE_ENABLE=		nsec3
 MINRESPSIZE_CONFIGURE_ENABLE=	minimal-responses
-NSEC3PREHASH_CONFIGURE_ENABLE=	full-prehash
 MMAP_CONFIGURE_ENABLE=		mmap
 MAXIPS_CONFIGURE_ON=		--with-max-ips=${NSDMAX_IPS}
 RRL_CONFIGURE_ENABLE=		ratelimit
-EUI_RRTYPES_CONFIGURE_ENABLE=	draft-rrtypes
-RECVMMSG_CONFIGURE_ENABLE=	enable-recvmmsg
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/nsd.conf.sample \
 		${STAGEDIR}${PREFIX}/etc/nsd/nsd.conf.sample
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/nsd \
+		${STAGEDIR}${PREFIX}/sbin/nsd-checkconf \
+		${STAGEDIR}${PREFIX}/sbin/nsd-checkzone \
+		${STAGEDIR}${PREFIX}/sbin/nsd-control
 
 .include <bsd.port.mk>

Modified: head/dns/nsd/distinfo
==============================================================================
--- head/dns/nsd/distinfo	Fri Sep  5 09:54:24 2014	(r367331)
+++ head/dns/nsd/distinfo	Fri Sep  5 11:20:42 2014	(r367332)
@@ -1,2 +1,2 @@
-SHA256 (nsd-4.0.3.tar.gz) = 4bf05f2234e1b41899198aa1070f409201fc3c4980feef6567cd92c7074c4a8b
-SIZE (nsd-4.0.3.tar.gz) = 1043993
+SHA256 (nsd-4.1.0.tar.gz) = ec3f6902f6f26a6b9248dcd7e9f42472fa52755740b4ba6b9d3bd08910b39b62
+SIZE (nsd-4.1.0.tar.gz) = 1056649

Modified: head/dns/nsd/pkg-plist
==============================================================================
--- head/dns/nsd/pkg-plist	Fri Sep  5 09:54:24 2014	(r367331)
+++ head/dns/nsd/pkg-plist	Fri Sep  5 11:20:42 2014	(r367332)
@@ -1,10 +1,12 @@
 %%ETCDIR%%/nsd.conf.sample
 man/man5/nsd.conf.5.gz
 man/man8/nsd-checkconf.8.gz
+man/man8/nsd-checkzone.8.gz
 man/man8/nsd-control.8.gz
 man/man8/nsd.8.gz
 sbin/nsd
 sbin/nsd-checkconf
+sbin/nsd-checkzone
 sbin/nsd-control
 sbin/nsd-control-setup
 @exec install -o %%NSDUSER%% -g %%NSDGROUP%% -m 0755 -d %%NSDRUNDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409051120.s85BKgeu054337>