Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 2008 14:57:23 GMT
From:      Olafur Osvaldsson <osvaldsson@icelandic.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/128818: [MAINTAINER] dns/nsd: update to 3.2.0
Message-ID:  <200811121457.mACEvNZT031121@portbuild.icelandic.net>
Resent-Message-ID: <200811121700.mACH0Df7046984@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         128818
>Category:       ports
>Synopsis:       [MAINTAINER] dns/nsd: update to 3.2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 12 17:00:12 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Olafur Osvaldsson
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD portbuild.icelandic.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #1: Wed Nov 12 11:33:01 GMT 2008
>Description:
- Update to 3.2.0
- Added a "nsdc patch" to rc stop command

>How-To-Repeat:
>Fix:

--- nsd-3.2.0.patch begins here ---
diff -ruN nsd.orig/Makefile nsd/Makefile
--- nsd.orig/Makefile	2008-11-12 14:07:09.000000000 +0000
+++ nsd/Makefile	2008-11-12 14:45:44.000000000 +0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	nsd
-PORTVERSION=	3.1.1
+PORTVERSION=	3.2.0
 CATEGORIES=	dns ipv6
 MASTER_SITES=	http://www.nlnetlabs.nl/downloads/nsd/	\
 		ftp://ftp.rhnet.is/pub/nsd/
@@ -116,6 +116,11 @@
 		${PREFIX}/etc/nsd/nsd.conf.sample
 	@${MKDIR} ${NSDDBDIR}
 	@${CHOWN} -R ${NSDUSER} ${NSDDBDIR}
+
+.if exists(${PREFIX}/etc/nsd/nsd.conf)
+	@${ECHO_MSG} "Upgrading to new ixfr.db format if needed"
+	${PREFIX}/sbin/nsdc patch
+.endif
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 .for f in ${PORTDOCS}
diff -ruN nsd.orig/distinfo nsd/distinfo
--- nsd.orig/distinfo	2008-11-12 14:07:09.000000000 +0000
+++ nsd/distinfo	2008-11-12 14:33:17.000000000 +0000
@@ -1,3 +1,3 @@
-MD5 (nsd-3.1.1.tar.gz) = 93cb2d0fa005ab46f81ef00e4951a804
-SHA256 (nsd-3.1.1.tar.gz) = aba5777672b7a2be1d61c6a8cb3346f7115f5d1dc3ae0ea94a55ef948aa3ff39
-SIZE (nsd-3.1.1.tar.gz) = 829140
+MD5 (nsd-3.2.0.tar.gz) = f93a3f23cf1d4ec46adec184e71b4179
+SHA256 (nsd-3.2.0.tar.gz) = 5ef1fd0afcd4c11cb34c008a78106da6331b8fddf178ae27039dd89b6ef059a4
+SIZE (nsd-3.2.0.tar.gz) = 838331
diff -ruN nsd.orig/files/nsd.in nsd/files/nsd.in
--- nsd.orig/files/nsd.in	2008-11-12 14:07:09.000000000 +0000
+++ nsd/files/nsd.in	2008-11-12 14:53:46.000000000 +0000
@@ -24,5 +24,16 @@
 
 nsd_enable=${nsd_enable-"NO"}
 
+stop_cmd="nsd_stop"
+
+nsd_stop()
+{
+	echo "Merging nsd zone transfer changes to zone files."
+	%%PREFIX%%/sbin/nsdc patch
+
+	echo "Stopping nsd."
+	%%PREFIX%%/sbin/nsdc stop
+}
+
 run_rc_command "$1"
 
--- nsd-3.2.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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