1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Install the bind.keys file with the root and dlv.isc.org keys.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2014-11-17 17:51:51 +00:00
parent 4d1b73822c
commit 828c669f5f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372675
4 changed files with 10 additions and 20 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= bind PORTNAME= bind
PORTVERSION= ${ISCVERSION:S/-P/P/} PORTVERSION= ${ISCVERSION:S/-P/P/}
PORTREVISION= 1
CATEGORIES= dns net ipv6 CATEGORIES= dns net ipv6
MASTER_SITES= ISC/bind9/${ISCVERSION} MASTER_SITES= ISC/bind9/${ISCVERSION}
PKGNAMESUFFIX?= 910 PKGNAMESUFFIX?= 910
@ -196,19 +197,11 @@ PORTDOCS= *
post-patch: post-patch:
.for FILE in check/named-checkconf.8 named/named.8 nsupdate/nsupdate.1 \ .for FILE in check/named-checkconf.8 named/named.8 nsupdate/nsupdate.1 \
rndc/rndc.8 rndc/rndc.8
@${MV} ${WRKSRC}/bin/${FILE} ${WRKSRC}/bin/${FILE}.Dist @${REINPLACE_CMD} -e 's#/etc/named.conf#${ETCDIR}/named.conf#g' \
@${SED} -e 's#/etc/named.conf#${ETCDIR}/named.conf#g' \
-e 's#/etc/rndc.conf#${ETCDIR}/rndc.conf#g' \ -e 's#/etc/rndc.conf#${ETCDIR}/rndc.conf#g' \
-e "s#/var\/run\/named\/named.pid#/var/run/named/pid#" \ -e "s#/var\/run\/named\/named.pid#/var/run/named/pid#" \
${WRKSRC}/bin/${FILE}.Dist > ${WRKSRC}/bin/${FILE} ${WRKSRC}/bin/${FILE}
.endfor .endfor
@${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.Dist
@${SED} -e 's#.*bind\.keys.*##' ${WRKSRC}/Makefile.in.Dist > \
${WRKSRC}/Makefile.in
@${MV} ${WRKSRC}/bin/named/Makefile.in ${WRKSRC}/bin/named/Makefile.in.Dist
@${SED} -e 's/$${PERL}/#/' -e 's/bind.keys.h/#/g' -e 's/bind9.xsl.h/#/g' \
${WRKSRC}/bin/named/Makefile.in.Dist > \
${WRKSRC}/bin/named/Makefile.in
post-install: post-install:
.if ${PORT_OPTIONS:MDOCS} .if ${PORT_OPTIONS:MDOCS}

View File

@ -408,6 +408,7 @@ sbin/rndc
sbin/rndc-confgen sbin/rndc-confgen
sbin/tsig-keygen sbin/tsig-keygen
%%ETCDIR%%/rndc.conf.sample %%ETCDIR%%/rndc.conf.sample
%%NOBASE%%%%ETCDIR%%/bind.keys
%%NOBASE%%@sample %%ETCDIR%%/named.conf.sample %%NOBASE%%@sample %%ETCDIR%%/named.conf.sample
%%NOBASE%%%%ETCDIR%%/named.root %%NOBASE%%%%ETCDIR%%/named.root
%%NOBASE%%%%ETCDIR%%/master/empty.db %%NOBASE%%%%ETCDIR%%/master/empty.db

View File

@ -2,6 +2,7 @@
PORTNAME= bind PORTNAME= bind
PORTVERSION= ${ISCVERSION:S/-P/P/} PORTVERSION= ${ISCVERSION:S/-P/P/}
PORTREVISION= 1
CATEGORIES= dns net ipv6 CATEGORIES= dns net ipv6
MASTER_SITES= ISC/bind9/${ISCVERSION} MASTER_SITES= ISC/bind9/${ISCVERSION}
PKGNAMESUFFIX= 99 PKGNAMESUFFIX= 99
@ -177,6 +178,7 @@ PKGDEINSTALL= ${PKGINSTALL}
CONFIGURE_ARGS+= --prefix=${PREFIX} \ CONFIGURE_ARGS+= --prefix=${PREFIX} \
--sysconfdir=${BIND_DESTETC} --sysconfdir=${BIND_DESTETC}
SUB_LIST+= BIND_DESTETC="${BIND_DESTETC}" SUB_LIST+= BIND_DESTETC="${BIND_DESTETC}"
PLIST_SUB+= BIND_DESTETC="${BIND_DESTETC}"
PORTDOCS= * PORTDOCS= *
@ -197,19 +199,11 @@ WITH_OPENSSL_PORT= yes
post-patch: post-patch:
.for FILE in check/named-checkconf.8 named/named.8 nsupdate/nsupdate.1 \ .for FILE in check/named-checkconf.8 named/named.8 nsupdate/nsupdate.1 \
rndc/rndc.8 rndc/rndc.8
@${MV} ${WRKSRC}/bin/${FILE} ${WRKSRC}/bin/${FILE}.Dist @${REINPLACE_CMD} -e 's#/etc/named.conf#${BIND_DESTETC}/named.conf#g' \
@${SED} -e 's#/etc/named.conf#${BIND_DESTETC}/named.conf#g' \
-e 's#/etc/rndc.conf#${BIND_DESTETC}/rndc.conf#g' \ -e 's#/etc/rndc.conf#${BIND_DESTETC}/rndc.conf#g' \
-e "s#/var\/run\/named\/named.pid#/var/run/named/pid#" \ -e "s#/var\/run\/named\/named.pid#/var/run/named/pid#" \
${WRKSRC}/bin/${FILE}.Dist > ${WRKSRC}/bin/${FILE} ${WRKSRC}/bin/${FILE}
.endfor .endfor
@${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.Dist
@${SED} -e 's#.*bind\.keys.*##' ${WRKSRC}/Makefile.in.Dist > \
${WRKSRC}/Makefile.in
@${MV} ${WRKSRC}/bin/named/Makefile.in ${WRKSRC}/bin/named/Makefile.in.Dist
@${SED} -e 's/$${PERL}/#/' -e 's/bind.keys.h/#/g' -e 's/bind9.xsl.h/#/g' \
${WRKSRC}/bin/named/Makefile.in.Dist > \
${WRKSRC}/bin/named/Makefile.in
post-configure: post-configure:
@${REINPLACE_CMD} -e '/^SO_LDFLAGS/s/-Wl,-rpath,/-rpath /' ${WRKSRC}/bin/tests/system/dlzexternal/Makefile @${REINPLACE_CMD} -e '/^SO_LDFLAGS/s/-Wl,-rpath,/-rpath /' ${WRKSRC}/bin/tests/system/dlzexternal/Makefile

View File

@ -374,6 +374,8 @@ sbin/named-journalprint
sbin/nsec3hash sbin/nsec3hash
sbin/rndc sbin/rndc
sbin/rndc-confgen sbin/rndc-confgen
%%BASE%%%%BIND_DESTETC%%/bind.keys
%%NOBASE%%%%ETCDIR%%/bind.keys
%%NOBASE%%@sample %%ETCDIR%%/named.conf.sample %%NOBASE%%@sample %%ETCDIR%%/named.conf.sample
%%NOBASE%%%%ETCDIR%%/named.root %%NOBASE%%%%ETCDIR%%/named.root
%%NOBASE%%%%ETCDIR%%/master/empty.db %%NOBASE%%%%ETCDIR%%/master/empty.db