aboutsummaryrefslogtreecommitdiffstats
path: root/dns/nsd
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-11-22 04:34:49 +0800
committermiwi <miwi@FreeBSD.org>2008-11-22 04:34:49 +0800
commit26494cb543cc5782e35a357aeaa6ef1b05fbe04c (patch)
tree3e10f57a9ba75f7e19869a8aa31f339bda95a6f8 /dns/nsd
parentaedeb01ff99a877a9e08fb81b1815a633208a585 (diff)
downloadfreebsd-ports-gnome-26494cb543cc5782e35a357aeaa6ef1b05fbe04c.tar.gz
freebsd-ports-gnome-26494cb543cc5782e35a357aeaa6ef1b05fbe04c.tar.zst
freebsd-ports-gnome-26494cb543cc5782e35a357aeaa6ef1b05fbe04c.zip
- Update to 3.2.0
PR: 128818 Submitted by: Olafur Osvaldsson <osvaldsson@icelandic.net> (maintainer)
Diffstat (limited to 'dns/nsd')
-rw-r--r--dns/nsd/Makefile7
-rw-r--r--dns/nsd/distinfo6
-rw-r--r--dns/nsd/files/nsd.in11
3 files changed, 20 insertions, 4 deletions
diff --git a/dns/nsd/Makefile b/dns/nsd/Makefile
index 8872cec20147..bb82d55de94f 100644
--- a/dns/nsd/Makefile
+++ b/dns/nsd/Makefile
@@ -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 @@ post-install:
${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 --git a/dns/nsd/distinfo b/dns/nsd/distinfo
index ed7f30965f12..620f06458b96 100644
--- a/dns/nsd/distinfo
+++ b/dns/nsd/distinfo
@@ -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 --git a/dns/nsd/files/nsd.in b/dns/nsd/files/nsd.in
index 50a0224dfd3a..261d5ee9295c 100644
--- a/dns/nsd/files/nsd.in
+++ b/dns/nsd/files/nsd.in
@@ -24,5 +24,16 @@ load_rc_config ${name}
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"