mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 02:16:27 -04:00
dns/bind918: remove bind-tools support
This commit is contained in:
parent
0675055e9a
commit
0675056241
3 changed files with 0 additions and 66 deletions
|
@ -2,28 +2,14 @@
|
|||
|
||||
PORTNAME= bind
|
||||
DISTVERSION= 9.18.29
|
||||
.if defined(BIND_TOOLS_SLAVE)
|
||||
# dns/bind-tools here
|
||||
PORTREVISION= 0
|
||||
.else
|
||||
# dns/bind918 here
|
||||
PORTREVISION= 0
|
||||
.endif
|
||||
CATEGORIES= dns net
|
||||
MASTER_SITES= ISC/bind9/${DISTVERSION}
|
||||
.if defined(BIND_TOOLS_SLAVE)
|
||||
PKGNAMESUFFIX= -tools
|
||||
.else
|
||||
PKGNAMESUFFIX= 918
|
||||
.endif
|
||||
|
||||
MAINTAINER= mat@FreeBSD.org
|
||||
WWW= https://www.isc.org/bind/
|
||||
.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
|
||||
|
||||
# Uncomment when bind920 comes of age. +3 years if ESV, +1year otherwise, see
|
||||
# https://kb.isc.org/docs/aa-00896
|
||||
|
@ -37,9 +23,7 @@ LIB_DEPENDS= libuv.so:devel/libuv \
|
|||
libnghttp2.so:www/libnghttp2 \
|
||||
libxml2.so:textproc/libxml2
|
||||
|
||||
.if !defined(BIND_TOOLS_SLAVE)
|
||||
RUN_DEPENDS= bind-tools>0:dns/bind-tools
|
||||
.endif
|
||||
|
||||
USES= autoreconf compiler:c11 cpe libedit libtool pkgconfig ssl tar:xz
|
||||
|
||||
|
@ -62,18 +46,12 @@ CONFIGURE_ARGS= --disable-linux-caps \
|
|||
CONFIGURE_ENV= READLINE_CFLAGS="-L${LOCALBASE}/lib"
|
||||
ETCDIR= ${PREFIX}/etc/namedb
|
||||
|
||||
.if defined(BIND_TOOLS_SLAVE)
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extrapatch-bind-tools
|
||||
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/bind-tools
|
||||
.else
|
||||
USE_RC_SUBR= named
|
||||
SUB_FILES= named.conf pkg-message
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extrapatch-no-bind-tools
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
CONFLICTS= bind920 bind9-devel
|
||||
.endif # BIND_TOOLS_SLAVE
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
|
@ -86,12 +64,6 @@ OPTIONS_DEFINE= DNSTAP DOCS FIXED_RRSET GEOIP IDN JSON LARGE_FILE LMDB \
|
|||
OPTIONS_SINGLE= GSSAPI
|
||||
OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE
|
||||
|
||||
.if defined(BIND_TOOLS_SLAVE)
|
||||
OPTIONS_EXCLUDE= DOCS GEOIP LMDB \
|
||||
OVERRIDECACHE QUERYTRACE START_LATE \
|
||||
TCP_FASTOPEN
|
||||
.endif # BIND_TOOLS_SLAVE
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
DNSTAP_DESC= Provides fast passive logging of DNS messages
|
||||
|
@ -193,7 +165,6 @@ post-patch:
|
|||
${WRKSRC}/bin/${FILE}
|
||||
.endfor
|
||||
|
||||
.if !defined(BIND_TOOLS_SLAVE)
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/mtree
|
||||
${MKDIR} ${STAGEDIR}${ETCDIR}
|
||||
|
@ -213,14 +184,5 @@ post-install-DOCS-on:
|
|||
${INSTALL_DATA} ${WRKSRC}/CHANGES* \
|
||||
${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC}/doc/arm/_build/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/arm
|
||||
.else
|
||||
|
||||
do-install:
|
||||
for dir in bin lib doc/man; do \
|
||||
(cd ${INSTALL_WRKSRC}/$$dir && ${SETENV} ${MAKE_ENV} ${FAKEROOT} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) ; \
|
||||
done
|
||||
@${RM} -r ${STAGEDIR}${PREFIX}/include
|
||||
|
||||
.endif # BIND_TOOLS_SLAVE
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
Only select the "tools" part of bind for building.
|
||||
|
||||
--- Makefile.am.orig 2022-06-02 14:20:10 UTC
|
||||
+++ Makefile.am
|
||||
@@ -12,8 +12,6 @@ CLEANFILES = bind.keys.h
|
||||
bind.keys.h: bind.keys Makefile
|
||||
${PERL} ${top_srcdir}/util/bindkeys.pl ${top_srcdir}/bind.keys > $@
|
||||
|
||||
-dist_sysconf_DATA = bind.keys
|
||||
-
|
||||
.PHONY: doc
|
||||
|
||||
EXTRA_DIST = \
|
||||
--- bin/Makefile.am.orig 2022-06-02 14:20:10 UTC
|
||||
+++ bin/Makefile.am
|
||||
@@ -1 +1 @@
|
||||
-SUBDIRS = named rndc dig delv dnssec tools nsupdate check confgen tests plugins
|
||||
+SUBDIRS = dig delv dnssec tools nsupdate
|
||||
--- bin/tools/Makefile.am.orig 2022-06-02 14:20:10 UTC
|
||||
+++ bin/tools/Makefile.am
|
||||
@@ -11,7 +11,6 @@ LDADD += \
|
||||
bin_PROGRAMS = \
|
||||
arpaname \
|
||||
mdig \
|
||||
- named-journalprint \
|
||||
named-rrchecker \
|
||||
nsec3hash
|
||||
|
Loading…
Add table
Reference in a new issue