aboutsummaryrefslogtreecommitdiffstats
path: root/dns/nsd
diff options
context:
space:
mode:
authorlaszlof <laszlof@FreeBSD.org>2009-05-19 20:44:03 +0800
committerlaszlof <laszlof@FreeBSD.org>2009-05-19 20:44:03 +0800
commite5f51fb4b321a032776c44dac15671a84d66c294 (patch)
tree8b4d0f8437c03bb613d0afc318ef6e27d9a2816a /dns/nsd
parentb165c4548f3d982b986103bf99726b7464eaaf43 (diff)
downloadfreebsd-ports-gnome-e5f51fb4b321a032776c44dac15671a84d66c294.tar.gz
freebsd-ports-gnome-e5f51fb4b321a032776c44dac15671a84d66c294.tar.zst
freebsd-ports-gnome-e5f51fb4b321a032776c44dac15671a84d66c294.zip
- Update to 3.2.2.
PR: ports/134698 Submitted by: Olafur Osvaldsson <osvaldsson@icelandic.net> (maintainer)
Diffstat (limited to 'dns/nsd')
-rw-r--r--dns/nsd/Makefile15
-rw-r--r--dns/nsd/distinfo6
-rw-r--r--dns/nsd/files/patch-Makefile.in11
-rw-r--r--dns/nsd/pkg-plist2
4 files changed, 17 insertions, 17 deletions
diff --git a/dns/nsd/Makefile b/dns/nsd/Makefile
index b71f46cd6f18..a7c3e517982f 100644
--- a/dns/nsd/Makefile
+++ b/dns/nsd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nsd
-PORTVERSION= 3.2.1
+PORTVERSION= 3.2.2
CATEGORIES= dns ipv6
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/ \
ftp://ftp.rhnet.is/pub/nsd/
@@ -19,20 +19,13 @@ CONFLICTS= nsd-[0-2]*
USE_RC_SUBR= nsd
NSDUSER?= bind
-NSDDBDIR?= /var/db/nsd
-NSDDBFILE?= ${NSDDBDIR}/nsd.db
-NSDDIFFFILE?= ${NSDDBDIR}/ixfr.db
-NSDXFRDFILE?= ${NSDDBDIR}/xfrd.state
+NSD_LSD= /var
NSDMAX_INT?= 512
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-user=${NSDUSER} \
--with-configdir=${PREFIX}/etc/nsd \
- --with-pidfile=/var/run/nsd.pid \
- --with-dbfile=${NSDDBFILE} \
- --with-difffile=${NSDDIFFFILE} \
- --with-xfrdfile=${NSDXFRDFILE} \
- --with-libwrap
+ --localstatedir=${NSD_LSD}
USE_OPENSSL= yes
@@ -116,8 +109,6 @@ pre-patch:
post-install:
${INSTALL_DATA} ${WRKSRC}/nsd.conf.sample \
${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"
diff --git a/dns/nsd/distinfo b/dns/nsd/distinfo
index 81d763439025..3e1bb16b336f 100644
--- a/dns/nsd/distinfo
+++ b/dns/nsd/distinfo
@@ -1,3 +1,3 @@
-MD5 (nsd-3.2.1.tar.gz) = 66b602a793b851ad109403d3d2654fad
-SHA256 (nsd-3.2.1.tar.gz) = 08c45f7e3ccd4b5d282a9582f7c5e4f024058b3239c5a588e81fd68a60e237ed
-SIZE (nsd-3.2.1.tar.gz) = 841192
+MD5 (nsd-3.2.2.tar.gz) = a0dcb0a3b3c1a8d386125eeafe403f58
+SHA256 (nsd-3.2.2.tar.gz) = d538600eba68c6b4c297f3a2bfc89c48427ccb5dbba0ea29b93ad258d14c4343
+SIZE (nsd-3.2.2.tar.gz) = 840917
diff --git a/dns/nsd/files/patch-Makefile.in b/dns/nsd/files/patch-Makefile.in
new file mode 100644
index 000000000000..03485fe68e48
--- /dev/null
+++ b/dns/nsd/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2009-05-19 01:19:40.000000000 +0000
++++ Makefile.in 2009-05-19 01:15:18.000000000 +0000
+@@ -318,7 +318,7 @@
+ install: all
+ $(INSTALL) -d $(DESTDIR)$(sbindir)
+ $(INSTALL) -d $(DESTDIR)$(configdir)
+- $(INSTALL) -d $(DESTDIR)$(piddir)
++# $(INSTALL) -d $(DESTDIR)$(piddir)
+ $(INSTALL) -d $(DESTDIR)$(dbdir)
+ $(INSTALL) -d $(DESTDIR)$(mandir)
+ $(INSTALL) -d $(DESTDIR)$(mandir)/man8
diff --git a/dns/nsd/pkg-plist b/dns/nsd/pkg-plist
index 3c31299169cb..67a6e5abea07 100644
--- a/dns/nsd/pkg-plist
+++ b/dns/nsd/pkg-plist
@@ -7,5 +7,3 @@ sbin/nsd-xfer
sbin/nsdc
sbin/zonec
@dirrm etc/nsd
-@cwd /
-@dirrm var/db/nsd