mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Install the bind.keys file with the root and dlv.isc.org keys.
Sponsored by: Absolight
This commit is contained in:
parent
4d1b73822c
commit
828c669f5f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372675
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= bind
|
||||
PORTVERSION= ${ISCVERSION:S/-P/P/}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= dns net ipv6
|
||||
MASTER_SITES= ISC/bind9/${ISCVERSION}
|
||||
PKGNAMESUFFIX?= 910
|
||||
@ -196,19 +197,11 @@ PORTDOCS= *
|
||||
post-patch:
|
||||
.for FILE in check/named-checkconf.8 named/named.8 nsupdate/nsupdate.1 \
|
||||
rndc/rndc.8
|
||||
@${MV} ${WRKSRC}/bin/${FILE} ${WRKSRC}/bin/${FILE}.Dist
|
||||
@${SED} -e 's#/etc/named.conf#${ETCDIR}/named.conf#g' \
|
||||
@${REINPLACE_CMD} -e 's#/etc/named.conf#${ETCDIR}/named.conf#g' \
|
||||
-e 's#/etc/rndc.conf#${ETCDIR}/rndc.conf#g' \
|
||||
-e "s#/var\/run\/named\/named.pid#/var/run/named/pid#" \
|
||||
${WRKSRC}/bin/${FILE}.Dist > ${WRKSRC}/bin/${FILE}
|
||||
${WRKSRC}/bin/${FILE}
|
||||
.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:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
@ -408,6 +408,7 @@ sbin/rndc
|
||||
sbin/rndc-confgen
|
||||
sbin/tsig-keygen
|
||||
%%ETCDIR%%/rndc.conf.sample
|
||||
%%NOBASE%%%%ETCDIR%%/bind.keys
|
||||
%%NOBASE%%@sample %%ETCDIR%%/named.conf.sample
|
||||
%%NOBASE%%%%ETCDIR%%/named.root
|
||||
%%NOBASE%%%%ETCDIR%%/master/empty.db
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= bind
|
||||
PORTVERSION= ${ISCVERSION:S/-P/P/}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= dns net ipv6
|
||||
MASTER_SITES= ISC/bind9/${ISCVERSION}
|
||||
PKGNAMESUFFIX= 99
|
||||
@ -177,6 +178,7 @@ PKGDEINSTALL= ${PKGINSTALL}
|
||||
CONFIGURE_ARGS+= --prefix=${PREFIX} \
|
||||
--sysconfdir=${BIND_DESTETC}
|
||||
SUB_LIST+= BIND_DESTETC="${BIND_DESTETC}"
|
||||
PLIST_SUB+= BIND_DESTETC="${BIND_DESTETC}"
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
@ -197,19 +199,11 @@ WITH_OPENSSL_PORT= yes
|
||||
post-patch:
|
||||
.for FILE in check/named-checkconf.8 named/named.8 nsupdate/nsupdate.1 \
|
||||
rndc/rndc.8
|
||||
@${MV} ${WRKSRC}/bin/${FILE} ${WRKSRC}/bin/${FILE}.Dist
|
||||
@${SED} -e 's#/etc/named.conf#${BIND_DESTETC}/named.conf#g' \
|
||||
@${REINPLACE_CMD} -e 's#/etc/named.conf#${BIND_DESTETC}/named.conf#g' \
|
||||
-e 's#/etc/rndc.conf#${BIND_DESTETC}/rndc.conf#g' \
|
||||
-e "s#/var\/run\/named\/named.pid#/var/run/named/pid#" \
|
||||
${WRKSRC}/bin/${FILE}.Dist > ${WRKSRC}/bin/${FILE}
|
||||
${WRKSRC}/bin/${FILE}
|
||||
.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:
|
||||
@${REINPLACE_CMD} -e '/^SO_LDFLAGS/s/-Wl,-rpath,/-rpath /' ${WRKSRC}/bin/tests/system/dlzexternal/Makefile
|
||||
|
@ -374,6 +374,8 @@ sbin/named-journalprint
|
||||
sbin/nsec3hash
|
||||
sbin/rndc
|
||||
sbin/rndc-confgen
|
||||
%%BASE%%%%BIND_DESTETC%%/bind.keys
|
||||
%%NOBASE%%%%ETCDIR%%/bind.keys
|
||||
%%NOBASE%%@sample %%ETCDIR%%/named.conf.sample
|
||||
%%NOBASE%%%%ETCDIR%%/named.root
|
||||
%%NOBASE%%%%ETCDIR%%/master/empty.db
|
||||
|
Loading…
Reference in New Issue
Block a user