mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Remove support for bind-tools from the BIND9 9.11 port.
Sponsored by: Absolight
This commit is contained in:
parent
b8a3fce896
commit
3602a85d94
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459830
@ -3,28 +3,14 @@
|
||||
|
||||
PORTNAME= bind
|
||||
PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/}
|
||||
.if defined(BIND_TOOLS_SLAVE)
|
||||
# dns/bind-tools here
|
||||
PORTREVISION= 0
|
||||
.else
|
||||
# dns/bind911 here
|
||||
PORTREVISION= 1
|
||||
.endif
|
||||
CATEGORIES= dns net ipv6
|
||||
MASTER_SITES= ISC/bind9/${ISCVERSION}
|
||||
.if defined(BIND_TOOLS_SLAVE)
|
||||
PKGNAMESUFFIX= -tools
|
||||
.else
|
||||
PKGNAMESUFFIX= 911
|
||||
.endif
|
||||
DISTNAME= ${PORTNAME}-${ISCVERSION}
|
||||
|
||||
MAINTAINER= mat@FreeBSD.org
|
||||
.if defined(BIND_TOOLS_SLAVE)
|
||||
COMMENT= Command line tools from BIND: delv, dig, host, nslookup...
|
||||
.else
|
||||
COMMENT= BIND DNS suite with updated DNSSEC and DNS64
|
||||
.endif
|
||||
|
||||
LICENSE= MPL20
|
||||
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
||||
@ -52,38 +38,30 @@ CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps \
|
||||
--sysconfdir=${ETCDIR}
|
||||
ETCDIR= ${PREFIX}/etc/namedb
|
||||
|
||||
CONFLICTS= bind99 bind910 bind9-devel
|
||||
CONFLICTS= bind-tools bind99 bind910 bind9-devel
|
||||
|
||||
.if defined(BIND_TOOLS_SLAVE)
|
||||
CONFIGURE_ARGS+= --disable-shared
|
||||
CONFLICTS+= bind911
|
||||
.else
|
||||
USE_RC_SUBR= named
|
||||
SUB_FILES= pkg-message named.conf
|
||||
CONFLICTS+= bind-tools
|
||||
.endif # BIND_TOOLS_SLAVE
|
||||
USE_RC_SUBR= named
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFAULT= SSL THREADS SIGCHASE IDN GSSAPI_NONE JSON PYTHON
|
||||
OPTIONS_DEFAULT= SSL THREADS SIGCHASE IDN GSSAPI_NONE JSON PYTHON \
|
||||
DLZ_FILESYSTEM LMDB RPZ_NSDNAME RPZ_NSIP
|
||||
OPTIONS_DEFINE= IDN LARGE_FILE PYTHON JSON \
|
||||
FIXED_RRSET SIGCHASE IPV6 THREADS FILTER_AAAA
|
||||
FIXED_RRSET SIGCHASE IPV6 THREADS FILTER_AAAA \
|
||||
RPZ_NSIP RPZ_NSDNAME DOCS GEOIP \
|
||||
MINCACHE PORTREVISION QUERYTRACE LMDB DNSTAP \
|
||||
START_LATE TUNING_LARGE
|
||||
|
||||
OPTIONS_RADIO= CRYPTO GOSTDEF
|
||||
OPTIONS_RADIO_CRYPTO= SSL NATIVE_PKCS11
|
||||
OPTIONS_RADIO_GOSTDEF= GOST GOST_ASN1
|
||||
|
||||
.if !defined(BIND_TOOLS_SLAVE)
|
||||
OPTIONS_DEFAULT+= DLZ_FILESYSTEM LMDB RPZ_NSDNAME RPZ_NSIP
|
||||
OPTIONS_DEFINE+= RPZ_NSIP RPZ_NSDNAME DOCS GEOIP \
|
||||
MINCACHE PORTREVISION QUERYTRACE LMDB DNSTAP \
|
||||
START_LATE TUNING_LARGE
|
||||
OPTIONS_GROUP= DLZ
|
||||
OPTIONS_GROUP_DLZ= DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \
|
||||
DLZ_LDAP DLZ_FILESYSTEM DLZ_STUB
|
||||
.endif # BIND_TOOLS_SLAVE
|
||||
OPTIONS_SINGLE= GSSAPI
|
||||
OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE
|
||||
|
||||
@ -230,38 +208,26 @@ BROKEN= OpenSSL from the base system does not support GOST, add \
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.if defined(BIND_TOOLS_SLAVE)
|
||||
@${REINPLACE_CMD} -e 's#^SUBDIRS.*#SUBDIRS = lib bin#' \
|
||||
-e 's#isc-config.sh installdirs#installdirs#' \
|
||||
-e 's#.*INSTALL.*isc-config.*##' \
|
||||
-e 's#.*INSTALL.*bind.keys.*##' \
|
||||
${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's#^SUBDIRS.*#SUBDIRS = delv dig dnssec tools nsupdate \\#' \
|
||||
-e 's#^ .*check confgen ##' \
|
||||
${WRKSRC}/bin/Makefile.in
|
||||
.else
|
||||
. 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
|
||||
@${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}
|
||||
. endfor
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
.if !defined(BIND_TOOLS_SLAVE)
|
||||
. if ${PORTREVISION:N0}
|
||||
.if ${PORTREVISION:N0}
|
||||
post-patch-PORTREVISION-on:
|
||||
@${REINPLACE_CMD} -e '/EXTENSIONS/s#=$$#=_${PORTREVISION}#' \
|
||||
${WRKSRC}/version
|
||||
. endif
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/mtree
|
||||
${MKDIR} ${STAGEDIR}${ETCDIR}
|
||||
. for i in dynamic master slave working
|
||||
.for i in dynamic master slave working
|
||||
@${MKDIR} ${STAGEDIR}${ETCDIR}/$i
|
||||
. endfor
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKDIR}/named.conf ${STAGEDIR}${ETCDIR}/named.conf.sample
|
||||
${INSTALL_DATA} ${FILESDIR}/named.root ${STAGEDIR}${ETCDIR}
|
||||
${INSTALL_DATA} ${FILESDIR}/empty.db ${STAGEDIR}${ETCDIR}/master
|
||||
@ -278,7 +244,6 @@ post-install-DOCS-on:
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/arm/Bv9ARM.pdf ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/CHANGES \
|
||||
${WRKSRC}/HISTORY* ${WRKSRC}/README* ${STAGEDIR}${DOCSDIR}
|
||||
.endif # BIND_TOOLS_SLAVE
|
||||
|
||||
# Can't use USE_PYTHON=autoplist
|
||||
post-install-PYTHON-on:
|
||||
|
Loading…
Reference in New Issue
Block a user