svn commit: r343903 - head/dns/nsd3
Erwin Lansing
erwin at FreeBSD.org
Wed Feb 12 10:52:24 UTC 2014
Author: erwin
Date: Wed Feb 12 10:52:23 2014
New Revision: 343903
URL: http://svnweb.freebsd.org/changeset/ports/343903
QAT: https://qat.redports.org/buildarchive/r343903/
Log:
Reinstated PKGNAMESUFFIX which was missing
Added STAGING support
Other small changes to make portlint happy
PR: 186630
Submitted by: Jaap Akkerhuis <jaap at NLnetLabs.nl> (maintainer)
Modified:
head/dns/nsd3/Makefile
head/dns/nsd3/pkg-message
Modified: head/dns/nsd3/Makefile
==============================================================================
--- head/dns/nsd3/Makefile Wed Feb 12 10:47:41 2014 (r343902)
+++ head/dns/nsd3/Makefile Wed Feb 12 10:52:23 2014 (r343903)
@@ -6,10 +6,15 @@ PORTVERSION= 3.2.17
CATEGORIES= dns ipv6
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/ \
ftp://ftp.rhnet.is/pub/nsd/
+PKGNAMESUFFIX= 3
MAINTAINER= jaap at NLnetLabs.nl
COMMENT= Authoritative only non-recursive name server
+LICENSE= BSD3CLAUSE
+
+PORTDOCS= CREDITS ChangeLog LICENSE NSD-DATABASE NSD-DIFFFILE \
+
CONFLICTS= nsd-[0-2]* nsd-4*
USE_RC_SUBR= nsd
@@ -62,7 +67,6 @@ MAXIPS_DESC= Raise max-ips from 8 to ${
RRL_DESC= Response Rate Limiting
EUI_RRTYPES_DESC= EUI48 and EUI64 RRtypes support
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MROOT_SERVER}
@@ -137,11 +141,11 @@ pre-patch:
post-install:
${INSTALL_DATA} ${WRKSRC}/nsd.conf.sample \
- ${PREFIX}/etc/nsd/nsd.conf.sample
+ ${STAGEDIR}${PREFIX}/etc/nsd/nsd.conf.sample
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}/${f}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}/${f}
.endfor
.endif
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
Modified: head/dns/nsd3/pkg-message
==============================================================================
--- head/dns/nsd3/pkg-message Wed Feb 12 10:47:41 2014 (r343902)
+++ head/dns/nsd3/pkg-message Wed Feb 12 10:52:23 2014 (r343903)
@@ -3,7 +3,7 @@
* Do consider to use nsd-4.0.1. Support for the nsd-3 branch
* will stop in future
* *
-* To run nsd from startup, add nsd_enable="YES" to your /etc/rc.conf *
+* To run nsd from startup, add nsd_enable="YES" to your etc/rc.conf *
* *
* Take good care when using nsd commands, since they often need to *
* be executed as user dedicated to nsd, in order for the files it *
More information about the svn-ports-all
mailing list