aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2015-12-16 13:09:16 +0800
committermiwi <miwi@FreeBSD.org>2015-12-16 13:09:16 +0800
commit64c58d6e7a6a0e55228257a2cc44e1e286e5fff1 (patch)
treee6231e87811b2eabe8d70bd21ab165d8b8cac957 /dns
parentbd43bfa19178e528993d8d7437cb275b730a8cf5 (diff)
downloadfreebsd-ports-gnome-64c58d6e7a6a0e55228257a2cc44e1e286e5fff1.tar.gz
freebsd-ports-gnome-64c58d6e7a6a0e55228257a2cc44e1e286e5fff1.tar.zst
freebsd-ports-gnome-64c58d6e7a6a0e55228257a2cc44e1e286e5fff1.zip
- Update to 4.1.7
- Switch to options helper PR: 205292 Submitted by: maintainer Approved by: mat (mentor) Differential Revision: D4579
Diffstat (limited to 'dns')
-rw-r--r--dns/nsd/Makefile20
-rw-r--r--dns/nsd/distinfo4
2 files changed, 11 insertions, 13 deletions
diff --git a/dns/nsd/Makefile b/dns/nsd/Makefile
index fdc88fdbd740..73c70c3e1d3b 100644
--- a/dns/nsd/Makefile
+++ b/dns/nsd/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= nsd
-PORTVERSION= 4.1.6
+PORTVERSION= 4.1.7
CATEGORIES= dns ipv6
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/ \
ftp://ftp.rhnet.is/pub/nsd/
@@ -79,31 +79,29 @@ MMAP_CONFIGURE_ENABLE= mmap
RRL_CONFIGURE_ENABLE= ratelimit
ZONE_STATS_CONFIGURE_ENABLE= zone-stats
-.include <bsd.port.options.mk>
-
-post-build:
-.if ${PORT_OPTIONS:MMUNIN_PLUGIN}
+post-build-MUNIN_PLUGIN-on:
${REINPLACE_CMD} \
-e 's|/usr/local|${LOCALBASE}|g' \
-e 's|/usr/local/etc/nsd.conf|${ETCDIR}/nsd.conf|g' \
-e 's|/usr/local/var/munin/plugin-state|/var/munin/plugin-state/root|g' \
-e '90s|/var/munin/plugin-state/root|$${MUNIN_PLUGSTATE}|' \
${WRKSRC}/contrib/nsd_munin_
-.endif
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
-.if ${PORT_OPTIONS:MMUNIN_PLUGIN}
- @${MKDIR} ${STAGEDIR}${PREFIX}/share/munin/plugins
+
+post-install-MUNIN_PLUGINS-on:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/munin/plugins
${INSTALL_SCRIPT} ${WRKSRC}/contrib/nsd_munin_ \
${STAGEDIR}${PREFIX}/share/munin/plugins
-.endif
+
+post-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/dns/nsd/distinfo b/dns/nsd/distinfo
index 812fa8922076..59bc4c820cac 100644
--- a/dns/nsd/distinfo
+++ b/dns/nsd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (nsd-4.1.6.tar.gz) = 88f622055c95d38b9ef3723a240d1d0da35a28d09fe23b601015181a61d7775f
-SIZE (nsd-4.1.6.tar.gz) = 1072173
+SHA256 (nsd-4.1.7.tar.gz) = 7ba8beb29b495ab795e927d9aa82a5bb1b66296a78f61ed47d6ccfe59e9b1a8a
+SIZE (nsd-4.1.7.tar.gz) = 1072576