diff options
author | fhajny <fhajny> | 2017-02-24 15:46:14 +0000 |
---|---|---|
committer | fhajny <fhajny> | 2017-02-24 15:46:14 +0000 |
commit | 7f56ff0c12b9ea3b2ea7a81f1631692da7c1f40d (patch) | |
tree | f2e3f7ee340ed64282152de3634e3b52e90ace2d /net/bind99 | |
parent | 698f10a435680da6183a86eaba106e7779263cc3 (diff) | |
download | pkgsrc-7f56ff0c12b9ea3b2ea7a81f1631692da7c1f40d.tar.gz |
Fix bind.keys PLIST handling, thanks joerg@ for the notice.
Diffstat (limited to 'net/bind99')
-rw-r--r-- | net/bind99/Makefile | 15 | ||||
-rw-r--r-- | net/bind99/PLIST | 3 |
2 files changed, 12 insertions, 6 deletions
diff --git a/net/bind99/Makefile b/net/bind99/Makefile index be9e6953238..55e431eb173 100644 --- a/net/bind99/Makefile +++ b/net/bind99/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.64 2017/02/20 15:19:54 fhajny Exp $ +# $NetBSD: Makefile,v 1.65 2017/02/24 15:46:14 fhajny Exp $ DISTNAME= bind-${BIND_VERSION} PKGNAME= ${DISTNAME:S/-P/pl/} @@ -57,7 +57,8 @@ FILES_SUBST+= BIND_GROUP=${BIND_GROUP:Q} \ BIND_USER=${BIND_USER:Q} PAX=${PAX:Q} \ SSLBASE=${SSLBASE:Q} MESSAGE_SUBST+= BIND_DIR=${BIND_DIR} BIND_USER=${BIND_USER} -DOCDIR= ${DESTDIR}${PREFIX}/share/doc/bind9 + +DOCDIR= share/doc/bind9 # include/isc/ipv6.h is installed on non-ipv6 platforms PLIST_VARS+= inet6 @@ -68,13 +69,17 @@ PLIST.inet6= yes RCD_SCRIPTS= lwresd named9 SMF_METHODS= named -INSTALLATION_DIRS+= ${DOCDIR} share/doc/bind9/arm +INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/bind9 +CONF_FILES+= share/examples/bind9/bind.keys \ + ${PKG_SYSCONFDIR}/bind.keys + +INSTALLATION_DIRS+= ${DOCDIR} ${DOCDIR}/arm post-install: .for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR} .endfor - ${INSTALL_DATA} ${WRKSRC}/doc/arm/*.html ${DOCDIR}/arm + ${INSTALL_DATA} ${WRKSRC}/doc/arm/*.html ${DESTDIR}${PREFIX}/${DOCDIR}/arm .include "../../security/openssl/buildlink3.mk" .include "../../mk/krb5.buildlink3.mk" diff --git a/net/bind99/PLIST b/net/bind99/PLIST index 3d566122ef8..5157e4df1a5 100644 --- a/net/bind99/PLIST +++ b/net/bind99/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.11 2016/05/02 13:22:06 taca Exp $ +@comment $NetBSD: PLIST,v 1.12 2017/02/24 15:46:14 fhajny Exp $ bin/bind9-config bin/dig bin/host @@ -418,3 +418,4 @@ share/doc/bind9/arm/man.rndc-confgen.html share/doc/bind9/arm/man.rndc.conf.html share/doc/bind9/arm/man.rndc.html share/doc/bind9/arm/notes.html +share/examples/bind9/bind.keys |