Bug 169731 - [MAINTAINER] dns/nsd: update to 3.2.11
Summary: [MAINTAINER] dns/nsd: update to 3.2.11
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jase Thew
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-09 13:00 UTC by Jaap Akkerhuis
Modified: 2012-07-17 11:40 UTC (History)
1 user (show)

See Also:


Attachments
nsd-3.2.11.patch (1.42 KB, patch)
2012-07-09 13:00 UTC, Jaap Akkerhuis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaap Akkerhuis 2012-07-09 13:00:20 UTC
- Update to 3.2.11

Major Changes:
	Support for TLSA/DANE and ECDSA
	Optional per zone statistics
	Bugfixes

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: suffix)
Comment 1 Jase Thew freebsd_committer 2012-07-09 14:13:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jase

I'll take it.
Comment 2 dfilter service freebsd_committer 2012-07-17 11:36:37 UTC
Author: jase
Date: Tue Jul 17 10:36:25 2012
New Revision: 300997
URL: http://svn.freebsd.org/changeset/ports/300997

Log:
  - Update to 3.2.11 [1]
  - Convert to optionsNG, add DOCS option
  - Replace bsd.port.{pre,post}.mk includes
  - Remove non-existent DNSSEC, TSIG, NSID options
  - Fix typo in NSEC3PREHASH option CONFIGURE_ARGS
  - Replace hardcoded ETCDIR in pkg-plist
  
  PR:		ports/169731 [1]
  Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
  Approved by:	flo (mentor)

Modified:
  head/dns/nsd/Makefile   (contents, props changed)
  head/dns/nsd/distinfo   (contents, props changed)
  head/dns/nsd/pkg-plist   (contents, props changed)
Directory Properties:
  head/dns/nsd/pkg-descr   (props changed)
  head/dns/nsd/pkg-message   (props changed)

Modified: head/dns/nsd/Makefile
==============================================================================
--- head/dns/nsd/Makefile	Tue Jul 17 08:58:09 2012	(r300996)
+++ head/dns/nsd/Makefile	Tue Jul 17 10:36:25 2012	(r300997)
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	nsd
-PORTVERSION=	3.2.10
+PORTVERSION=	3.2.11
 CATEGORIES=	dns ipv6
 MASTER_SITES=	http://www.nlnetlabs.nl/downloads/nsd/	\
 		ftp://ftp.rhnet.is/pub/nsd/
@@ -49,68 +49,67 @@ PORTDOCS=	CREDITS ChangeLog LICENSE NSD-
 		REQUIREMENTS TESTPLAN TODO UPGRADING coding-style \
 		differences.tex
 
-OPTIONS=	ROOT_SERVER	"Configure NSD as a root server" Off \
-		LARGEFILE	"Enable support for large files" On \
-		IPV6		"Enable IPv6 support" On \
-		BIND8_STATS	"Enable BIND8 like NSTATS & XSTATS" Off \
-		CHECKING	"Enable internal runtime checks" Off \
-		NSEC3		"Enable NSEC3 support" On \
-		MINRESPSIZE	"Enable minimized response size" On \
-		NSEC3PREHASH	"Enable full NSEC3 prehashing" On \
-		MMAP		"Use mmap instead of malloc(experimental)" Off \
-		MAXIPS		"Raise max-ips from 8 to ${NSDMAX_IPS}" Off
+OPTIONS_DEFINE=	ROOT_SERVER LARGEFILE IPV6 BIND8_STATS ZONE_STATS CHECKING \
+		MINRESPSIZE NSEC3 NSEC3PREHASH MMAP MAXIPS DOCS 
+OPTIONS_DEFAULT=	LARGEFILE IPV6 NSEC3 NSEC3PREHASH MINRESPSIZE
+
+ROOT_SERVER_DESC=	Configure as a root server
+LARGEFILE_DESC=		Largefile support
+BIND8_STATS_DESC=	BIND8-like NSTATS & XSTATS
+ZONE_STATS_DESC=	Per-zone BIND8 stats
+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}
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if defined(WITH_ROOT_SERVER)
+.if ${PORT_OPTIONS:MROOT_SERVER}
 CONFIGURE_ARGS+=	--enable-root-server
 .endif
 
-.if defined(WITHOUT_LARGEFILE)
+.if empty(PORT_OPTIONS:MLARGFILE)
 CONFIGURE_ARGS+=	--disable-largefile
 .endif
 
-.if defined(WITHOUT_IPV6)
+.if empty(PORT_OPTIONS:MIPV6)
 CONFIGURE_ARGS+=	--disable-ipv6
 .endif
 
-.if defined(WITHOUT_DNSSEC)
-CONFIGURE_ARGS+=	--disable-dnssec
+.if ${PORT_OPTIONS:MBIND8_STATS}
+CONFIGURE_ARGS+=	--enable-bind8-stats
 .endif
 
-.if defined(WITH_BIND8_STATS)
+.if ${PORT_OPTIONS:MZONE_STATS}
+.	if empty(PORT_OPTIONS:MBIND8_STATS)
 CONFIGURE_ARGS+=	--enable-bind8-stats
+.	endif
+CONFIGURE_ARGS+=	--enable-zone-stats
 .endif
 
-.if defined(WITH_CHECKING)
+.if ${PORT_OPTIONS:MCHECKING}
 CONFIGURE_ARGS+=	--enable-checking
 .endif
 
-.if defined(WITHOUT_TSIG)
-CONFIGURE_ARGS+=	--disable-tsig
-.endif
-
-.if defined(WITHOUT_NSEC3)
+.if empty(PORT_OPTIONS:MNSEC3)
 CONFIGURE_ARGS+=	--disable-nsec3
 .endif
 
-.if defined(WITHOUT_MINRESPSIZE)
+.if empty(PORT_OPTIONS:MMINRESPSIZE)
 CONFIGURE_ARGS+=	--disable-minimal-responses
 .endif
 
-.if defined(WITHOUT_NSEC3PREHASH)
-CONFIGURE_ARGS+=	--disable-disable-full-prehash
-.endif
-
-.if defined(WITHOUT_NSID)
-CONFIGURE_ARGS+=	--disable-nsid
+.if empty(PORT_OPTIONS:MNSEC3PREHASH)
+CONFIGURE_ARGS+=	--disable-full-prehash
 .endif
 
-.if defined(WITH_MMAP)
+.if ${PORT_OPTIONS:MMMAP}
 CONFIGURE_ARGS+=	--enable-mmap
 .endif
 
-.if defined(WITH_MAXIPS)
+.if ${PORT_OPTIONS:MMAXIPS)
 CONFIGURE_ARGS+=	--with-max-ips=${NSDMAX_IPS}
 .endif
 
@@ -132,7 +131,7 @@ pre-patch:
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/nsd.conf.sample \
 		${PREFIX}/etc/nsd/nsd.conf.sample
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}/${f}
@@ -141,4 +140,4 @@ post-install:
 	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/dns/nsd/distinfo
==============================================================================
--- head/dns/nsd/distinfo	Tue Jul 17 08:58:09 2012	(r300996)
+++ head/dns/nsd/distinfo	Tue Jul 17 10:36:25 2012	(r300997)
@@ -1,2 +1,2 @@
-SHA256 (nsd-3.2.10.tar.gz) = fe6d9fae7ec549f1fa1f4fb1e40c9f05311fac43edf256a0d9f4f46377c23f31
-SIZE (nsd-3.2.10.tar.gz) = 879180
+SHA256 (nsd-3.2.11.tar.gz) = 9cd23d177ca241836d184b0203f6add0e5c2b98461069100001efe79afdc0d80
+SIZE (nsd-3.2.11.tar.gz) = 885810

Modified: head/dns/nsd/pkg-plist
==============================================================================
--- head/dns/nsd/pkg-plist	Tue Jul 17 08:58:09 2012	(r300996)
+++ head/dns/nsd/pkg-plist	Tue Jul 17 10:36:25 2012	(r300997)
@@ -1,4 +1,4 @@
-etc/nsd/nsd.conf.sample
+%%ETCDIR%%/nsd.conf.sample
 sbin/nsd
 sbin/nsd-checkconf
 sbin/nsd-notify
@@ -6,4 +6,4 @@ sbin/nsd-patch
 sbin/nsd-xfer
 sbin/nsdc
 sbin/zonec
-@dirrmtry etc/nsd
+@dirrmtry %%ETCDIR%%
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Jase Thew freebsd_committer 2012-07-17 11:36:57 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!