mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
Remove conflicts from bind-tools and the server ports.
All servers now depend on the same bind-tools, from the latest BIND9 release. Chase dependencies to make sure they now depend on the correct port. Differential Revision: https://reviews.freebsd.org/D19922
This commit is contained in:
parent
a7e6f6e408
commit
33634159f7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=499757
@ -6,7 +6,6 @@ bin/mdig
|
||||
bin/named-rrchecker
|
||||
bin/nslookup
|
||||
bin/nsupdate
|
||||
@comment lib/named/filter-aaaa.so
|
||||
man/man1/arpaname.1.gz
|
||||
man/man1/delv.1.gz
|
||||
man/man1/dig.1.gz
|
||||
@ -27,7 +26,6 @@ man/man8/dnssec-revoke.8.gz
|
||||
man/man8/dnssec-settime.8.gz
|
||||
man/man8/dnssec-signzone.8.gz
|
||||
man/man8/dnssec-verify.8.gz
|
||||
@comment man/man8/filter-aaaa.8.gz
|
||||
man/man8/named-journalprint.8.gz
|
||||
man/man8/nsec3hash.8.gz
|
||||
sbin/dnssec-cds
|
||||
|
@ -9,7 +9,7 @@ PORTREVISION= 0
|
||||
.else
|
||||
# XXX: correct version
|
||||
# dns/bind9xx here
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
.endif
|
||||
CATEGORIES= dns net ipv6
|
||||
# XXX: put the ISC master_site
|
||||
@ -34,6 +34,9 @@ LICENSE= MPL20
|
||||
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
||||
|
||||
LIB_DEPENDS= libxml2.so:textproc/libxml2
|
||||
.if !defined(BIND_TOOLS_SLAVE)
|
||||
RUN_DEPENDS= bind-tools>0:dns/bind-tools
|
||||
.endif
|
||||
|
||||
# XXX: remove tar:bz2
|
||||
USES= compiler:c11 cpe libedit ssl tar:bz2
|
||||
@ -66,26 +69,29 @@ CONFLICTS= bind911 bind912 bind913 bind914
|
||||
|
||||
.if defined(BIND_TOOLS_SLAVE)
|
||||
CONFIGURE_ARGS+= --disable-shared
|
||||
# XXX: Change to the correct version
|
||||
CONFLICTS+= bind9-devel
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extrapatch-bind-tools
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-python
|
||||
USE_RC_SUBR= named
|
||||
SUB_FILES= pkg-message named.conf
|
||||
CONFLICTS+= bind-tools
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extrapatch-no-bind-tools
|
||||
|
||||
PORTDOCS= *
|
||||
.endif # BIND_TOOLS_SLAVE
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
OPTIONS_DEFAULT= SIGCHASE IDN GSSAPI_NONE JSON PYTHON
|
||||
OPTIONS_DEFINE= IDN LARGE_FILE PYTHON JSON \
|
||||
OPTIONS_DEFAULT= SIGCHASE IDN GSSAPI_NONE JSON
|
||||
OPTIONS_DEFINE= IDN LARGE_FILE JSON \
|
||||
FIXED_RRSET SIGCHASE
|
||||
|
||||
OPTIONS_RADIO= CRYPTO
|
||||
OPTIONS_RADIO_CRYPTO= NATIVE_PKCS11
|
||||
|
||||
.if !defined(BIND_TOOLS_SLAVE)
|
||||
.if defined(BIND_TOOLS_SLAVE)
|
||||
OPTIONS_DEFINE+= PYTHON
|
||||
OPTIONS_DEFAULT+= PYTHON
|
||||
.else
|
||||
OPTIONS_DEFAULT+= DLZ_FILESYSTEM LMDB TCP_FASTOPEN
|
||||
OPTIONS_DEFINE+= DOCS \
|
||||
OVERRIDECACHE PORTREVISION QUERYTRACE LMDB DNSTAP \
|
||||
@ -225,24 +231,13 @@ post-extract:
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/RELEASETYPE=/s#$$#-${GL_COMMIT}#' \
|
||||
${WRKSRC}/version
|
||||
.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}
|
||||
@ -273,10 +268,11 @@ post-install-DOCS-on:
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/arm/Bv9ARM.pdf ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/CHANGES* ${WRKSRC}/HISTORY.md \
|
||||
${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
||||
.endif # BIND_TOOLS_SLAVE
|
||||
.else
|
||||
|
||||
# Can't use USE_PYTHON=autoplist
|
||||
post-install-PYTHON-on:
|
||||
@${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -type f | ${SED} -e 's|${STAGEDIR}||' >> ${TMPPLIST}
|
||||
.endif # BIND_TOOLS_SLAVE
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
41
dns/bind9-devel/files/extrapatch-bind-tools
Normal file
41
dns/bind9-devel/files/extrapatch-bind-tools
Normal file
@ -0,0 +1,41 @@
|
||||
Only select the "tools" part of bind for building.
|
||||
|
||||
--- Makefile.in.orig 2019-03-20 05:57:56 UTC
|
||||
+++ Makefile.in
|
||||
@@ -14,7 +14,7 @@ top_builddir = @top_builddir@
|
||||
|
||||
VERSION=@BIND9_VERSION@
|
||||
|
||||
-SUBDIRS = make lib fuzz bin doc
|
||||
+SUBDIRS = lib bin
|
||||
TARGETS =
|
||||
PREREQS = bind.keys.h
|
||||
|
||||
@@ -54,14 +54,11 @@ installdirs:
|
||||
${DESTDIR}${localstatedir}/run ${DESTDIR}${sysconfdir}
|
||||
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
|
||||
|
||||
-install:: isc-config.sh installdirs
|
||||
- ${INSTALL_SCRIPT} isc-config.sh ${DESTDIR}${bindir}
|
||||
+install:: installdirs
|
||||
rm -f ${DESTDIR}${bindir}/bind9-config
|
||||
@LN@ ${DESTDIR}${bindir}/isc-config.sh ${DESTDIR}${bindir}/bind9-config
|
||||
- ${INSTALL_DATA} ${top_srcdir}/isc-config.sh.1 ${DESTDIR}${mandir}/man1
|
||||
rm -f ${DESTDIR}${mandir}/man1/bind9-config.1
|
||||
@LN@ ${DESTDIR}${mandir}/man1/isc-config.sh.1 ${DESTDIR}${mandir}/man1/bind9-config.1
|
||||
- ${INSTALL_DATA} ${top_srcdir}/bind.keys ${DESTDIR}${sysconfdir}
|
||||
|
||||
uninstall::
|
||||
rm -f ${DESTDIR}${sysconfdir}/bind.keys
|
||||
--- bin/Makefile.in.orig 2019-03-20 05:57:56 UTC
|
||||
+++ bin/Makefile.in
|
||||
@@ -11,7 +11,7 @@ srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
|
||||
-SUBDIRS = named rndc dig delv dnssec tools nsupdate check confgen \
|
||||
- @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ plugins tests
|
||||
+SUBDIRS = dig delv dnssec tools nsupdate \
|
||||
+ @NZD_TOOLS@ @PYTHON_TOOLS@
|
||||
TARGETS =
|
||||
|
51
dns/bind9-devel/files/extrapatch-no-bind-tools
Normal file
51
dns/bind9-devel/files/extrapatch-no-bind-tools
Normal file
@ -0,0 +1,51 @@
|
||||
Exclude the "tools" from building and installing.
|
||||
|
||||
--- bin/Makefile.in.orig 2019-03-20 05:57:56 UTC
|
||||
+++ bin/Makefile.in
|
||||
@@ -11,8 +11,8 @@ srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
|
||||
-SUBDIRS = named rndc dig delv dnssec tools nsupdate check confgen \
|
||||
- @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ plugins tests
|
||||
+SUBDIRS = named rndc tools check confgen \
|
||||
+ @NZD_TOOLS@ @PKCS11_TOOLS@ plugins tests
|
||||
TARGETS =
|
||||
|
||||
@BIND9_MAKE_RULES@
|
||||
--- bin/tools/Makefile.in.orig 2019-04-15 14:30:39 UTC
|
||||
+++ bin/tools/Makefile.in
|
||||
@@ -39,10 +39,7 @@ SUBDIRS =
|
||||
|
||||
DNSTAPTARGETS = dnstap-read@EXEEXT@
|
||||
NZDTARGETS = named-nzd2nzf@EXEEXT@
|
||||
-TARGETS = arpaname@EXEEXT@ named-journalprint@EXEEXT@ \
|
||||
- named-rrchecker@EXEEXT@ nsec3hash@EXEEXT@ \
|
||||
- mdig@EXEEXT@ \
|
||||
- @DNSTAPTARGETS@ @NZDTARGETS@
|
||||
+TARGETS = @DNSTAPTARGETS@ @NZDTARGETS@
|
||||
|
||||
DNSTAPSRCS = dnstap-read.c
|
||||
NZDSRCS = named-nzd2nzf.c
|
||||
@@ -118,21 +115,6 @@ dnstap:
|
||||
${INSTALL_DATA} ${srcdir}/dnstap-read.1 ${DESTDIR}${mandir}/man1
|
||||
|
||||
install:: ${TARGETS} installdirs @DNSTAP@ @NZD_TOOLS@
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} arpaname@EXEEXT@ \
|
||||
- ${DESTDIR}${bindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-journalprint@EXEEXT@ \
|
||||
- ${DESTDIR}${sbindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-rrchecker@EXEEXT@ \
|
||||
- ${DESTDIR}${bindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} nsec3hash@EXEEXT@ \
|
||||
- ${DESTDIR}${sbindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} mdig@EXEEXT@ \
|
||||
- ${DESTDIR}${bindir}
|
||||
- ${INSTALL_DATA} ${srcdir}/arpaname.1 ${DESTDIR}${mandir}/man1
|
||||
- ${INSTALL_DATA} ${srcdir}/named-journalprint.8 ${DESTDIR}${mandir}/man8
|
||||
- ${INSTALL_DATA} ${srcdir}/named-rrchecker.1 ${DESTDIR}${mandir}/man1
|
||||
- ${INSTALL_DATA} ${srcdir}/nsec3hash.8 ${DESTDIR}${mandir}/man8
|
||||
- ${INSTALL_DATA} ${srcdir}/mdig.1 ${DESTDIR}${mandir}/man1
|
||||
|
||||
uninstall::
|
||||
rm -f ${DESTDIR}${mandir}/man1/mdig.1
|
@ -1,14 +1,6 @@
|
||||
bin/arpaname
|
||||
bin/bind9-config
|
||||
bin/delv
|
||||
bin/dig
|
||||
%%DNSTAP%%bin/dnstap-read
|
||||
bin/host
|
||||
bin/isc-config.sh
|
||||
bin/mdig
|
||||
bin/named-rrchecker
|
||||
bin/nslookup
|
||||
bin/nsupdate
|
||||
@sample etc/mtree/BIND.chroot.dist.sample
|
||||
@sample etc/mtree/BIND.chroot.local.dist.sample
|
||||
%%ETCDIR%%/bind.keys
|
||||
@ -277,40 +269,18 @@ lib/libisccc.a
|
||||
lib/libisccfg.a
|
||||
lib/libns.a
|
||||
lib/named/filter-aaaa.so
|
||||
man/man1/arpaname.1.gz
|
||||
man/man1/bind9-config.1.gz
|
||||
man/man1/delv.1.gz
|
||||
man/man1/dig.1.gz
|
||||
%%DNSTAP%%man/man1/dnstap-read.1.gz
|
||||
man/man1/host.1.gz
|
||||
man/man1/isc-config.sh.1.gz
|
||||
man/man1/mdig.1.gz
|
||||
man/man1/named-rrchecker.1.gz
|
||||
man/man1/nslookup.1.gz
|
||||
man/man1/nsupdate.1.gz
|
||||
man/man5/named.conf.5.gz
|
||||
man/man5/rndc.conf.5.gz
|
||||
man/man8/ddns-confgen.8.gz
|
||||
man/man8/dnssec-cds.8.gz
|
||||
%%PYTHON%%man/man8/dnssec-checkds.8.gz
|
||||
%%PYTHON%%man/man8/dnssec-coverage.8.gz
|
||||
man/man8/dnssec-dsfromkey.8.gz
|
||||
man/man8/dnssec-importkey.8.gz
|
||||
man/man8/dnssec-keyfromlabel.8.gz
|
||||
man/man8/dnssec-keygen.8.gz
|
||||
%%PYTHON%%man/man8/dnssec-keymgr.8.gz
|
||||
man/man8/dnssec-revoke.8.gz
|
||||
man/man8/dnssec-settime.8.gz
|
||||
man/man8/dnssec-signzone.8.gz
|
||||
man/man8/dnssec-verify.8.gz
|
||||
man/man8/filter-aaaa.8.gz
|
||||
man/man8/named-checkconf.8.gz
|
||||
man/man8/named-checkzone.8.gz
|
||||
man/man8/named-compilezone.8.gz
|
||||
man/man8/named-journalprint.8.gz
|
||||
%%LMDB%%man/man8/named-nzd2nzf.8.gz
|
||||
man/man8/named.8.gz
|
||||
man/man8/nsec3hash.8.gz
|
||||
%%NATIVE_PKCS11%%man/man8/pkcs11-destroy.8.gz
|
||||
%%NATIVE_PKCS11%%man/man8/pkcs11-keygen.8.gz
|
||||
%%NATIVE_PKCS11%%man/man8/pkcs11-list.8.gz
|
||||
@ -319,25 +289,11 @@ man/man8/rndc-confgen.8.gz
|
||||
man/man8/rndc.8.gz
|
||||
man/man8/tsig-keygen.8.gz
|
||||
sbin/ddns-confgen
|
||||
sbin/dnssec-cds
|
||||
%%PYTHON%%sbin/dnssec-checkds
|
||||
%%PYTHON%%sbin/dnssec-coverage
|
||||
sbin/dnssec-dsfromkey
|
||||
sbin/dnssec-importkey
|
||||
sbin/dnssec-keyfromlabel
|
||||
sbin/dnssec-keygen
|
||||
%%PYTHON%%sbin/dnssec-keymgr
|
||||
sbin/dnssec-revoke
|
||||
sbin/dnssec-settime
|
||||
sbin/dnssec-signzone
|
||||
sbin/dnssec-verify
|
||||
sbin/named
|
||||
sbin/named-checkconf
|
||||
sbin/named-checkzone
|
||||
sbin/named-compilezone
|
||||
sbin/named-journalprint
|
||||
%%LMDB%%sbin/named-nzd2nzf
|
||||
sbin/nsec3hash
|
||||
%%NATIVE_PKCS11%%sbin/pkcs11-destroy
|
||||
%%NATIVE_PKCS11%%sbin/pkcs11-keygen
|
||||
%%NATIVE_PKCS11%%sbin/pkcs11-list
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= bind
|
||||
PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/}
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= dns net ipv6
|
||||
MASTER_SITES= ISC/bind9/${ISCVERSION}
|
||||
PKGNAMESUFFIX= 911
|
||||
@ -16,6 +16,7 @@ LICENSE= MPL20
|
||||
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
||||
|
||||
LIB_DEPENDS= libxml2.so:textproc/libxml2
|
||||
RUN_DEPENDS= bind-tools>0:dns/bind-tools
|
||||
|
||||
USES= cpe libedit
|
||||
|
||||
@ -35,10 +36,11 @@ CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps \
|
||||
--with-readline="-L${LOCALBASE}/lib -ledit" \
|
||||
--with-dlopen=yes \
|
||||
--with-gost=no \
|
||||
--without-python \
|
||||
--sysconfdir=${ETCDIR}
|
||||
ETCDIR= ${PREFIX}/etc/namedb
|
||||
|
||||
CONFLICTS= bind-tools bind912 bind913 bind914 bind9-devel
|
||||
CONFLICTS= bind912 bind913 bind914 bind9-devel
|
||||
|
||||
SUB_FILES= pkg-message named.conf
|
||||
USE_RC_SUBR= named
|
||||
@ -47,10 +49,10 @@ MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFAULT= SSL THREADS SIGCHASE IDN GSSAPI_NONE JSON PYTHON \
|
||||
OPTIONS_DEFAULT= SSL THREADS SIGCHASE IDN GSSAPI_NONE JSON \
|
||||
DLZ_FILESYSTEM LMDB RPZ_NSDNAME RPZ_NSIP TCP_FASTOPEN \
|
||||
FILTER_AAAA
|
||||
OPTIONS_DEFINE= IDN LARGE_FILE PYTHON JSON \
|
||||
OPTIONS_DEFINE= IDN LARGE_FILE JSON \
|
||||
FIXED_RRSET SIGCHASE IPV6 THREADS FILTER_AAAA \
|
||||
RPZ_NSIP RPZ_NSDNAME DOCS \
|
||||
MINCACHE PORTREVISION QUERYTRACE LMDB DNSTAP \
|
||||
@ -87,7 +89,6 @@ LMDB_DESC= Use LMDB for zone management
|
||||
MINCACHE_DESC= Use the mincachettl patch
|
||||
NATIVE_PKCS11_DESC= Use PKCS\#11 native API (**READ HELP**)
|
||||
PORTREVISION_DESC= Show PORTREVISION in the version string
|
||||
PYTHON_DESC= Build with Python utilities
|
||||
QUERYTRACE_DESC= Enable the very verbose query tracelogging
|
||||
RPZ_NSDNAME_DESC= Enable RPZ NSDNAME policy records
|
||||
RPZ_NSIP_DESC= Enable RPZ NSIP trigger rules
|
||||
@ -157,11 +158,6 @@ MINCACHE_EXTRA_PATCHES= ${FILESDIR}/extrapatch-bind-min-override-ttl
|
||||
NATIVE_PKCS11_CONFIGURE_ENABLE= native-pkcs11
|
||||
NATIVE_PKCS11_IMPLIES= THREADS
|
||||
|
||||
PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply@${PY_FLAVOR}
|
||||
PYTHON_CONFIGURE_WITH= python=${PYTHON_CMD}
|
||||
PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply@${PY_FLAVOR}
|
||||
PYTHON_USES= python
|
||||
|
||||
QUERYTRACE_CONFIGURE_ENABLE= querytrace
|
||||
|
||||
RPZ_NSDNAME_CONFIGURE_ENABLE= rpz-nsdname
|
||||
@ -251,8 +247,4 @@ post-install-DOCS-on:
|
||||
${INSTALL_DATA} ${WRKSRC}/CHANGES \
|
||||
${WRKSRC}/HISTORY* ${WRKSRC}/README* ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
# Can't use USE_PYTHON=autoplist
|
||||
post-install-PYTHON-on:
|
||||
@${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -type f | ${SED} -e 's|${STAGEDIR}||' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
55
dns/bind911/files/patch-no-bind-tools
Normal file
55
dns/bind911/files/patch-no-bind-tools
Normal file
@ -0,0 +1,55 @@
|
||||
Exclude the "tools" from building and installing.
|
||||
|
||||
--- bin/Makefile.in.orig 2019-02-27 23:28:15 UTC
|
||||
+++ bin/Makefile.in
|
||||
@@ -11,7 +11,7 @@ srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
|
||||
-SUBDIRS = named rndc dig delv dnssec tools nsupdate check confgen \
|
||||
+SUBDIRS = named rndc tools check confgen \
|
||||
@NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ tests
|
||||
TARGETS =
|
||||
|
||||
--- bin/tools/Makefile.in.orig 2019-02-27 23:28:15 UTC
|
||||
+++ bin/tools/Makefile.in
|
||||
@@ -42,10 +42,7 @@ SUBDIRS =
|
||||
|
||||
DNSTAPTARGETS = dnstap-read@EXEEXT@
|
||||
NZDTARGETS = named-nzd2nzf@EXEEXT@
|
||||
-TARGETS = arpaname@EXEEXT@ named-journalprint@EXEEXT@ \
|
||||
- named-rrchecker@EXEEXT@ nsec3hash@EXEEXT@ \
|
||||
- genrandom@EXEEXT@ isc-hmac-fixup@EXEEXT@ mdig@EXEEXT@ \
|
||||
- @DNSTAPTARGETS@ @NZDTARGETS@
|
||||
+TARGETS = @DNSTAPTARGETS@ @NZDTARGETS@
|
||||
|
||||
DNSTAPSRCS = dnstap-read.c
|
||||
NZDSRCS = named-nzd2nzf.c
|
||||
@@ -130,27 +127,6 @@ dnstap:
|
||||
${INSTALL_DATA} ${srcdir}/dnstap-read.1 ${DESTDIR}${mandir}/man1
|
||||
|
||||
install:: ${TARGETS} installdirs @DNSTAP@ @NZD_TOOLS@
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} arpaname@EXEEXT@ \
|
||||
- ${DESTDIR}${bindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-journalprint@EXEEXT@ \
|
||||
- ${DESTDIR}${sbindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-rrchecker@EXEEXT@ \
|
||||
- ${DESTDIR}${bindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} nsec3hash@EXEEXT@ \
|
||||
- ${DESTDIR}${sbindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} genrandom@EXEEXT@ \
|
||||
- ${DESTDIR}${sbindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} isc-hmac-fixup@EXEEXT@ \
|
||||
- ${DESTDIR}${sbindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} mdig@EXEEXT@ \
|
||||
- ${DESTDIR}${bindir}
|
||||
- ${INSTALL_DATA} ${srcdir}/arpaname.1 ${DESTDIR}${mandir}/man1
|
||||
- ${INSTALL_DATA} ${srcdir}/isc-hmac-fixup.8 ${DESTDIR}${mandir}/man8
|
||||
- ${INSTALL_DATA} ${srcdir}/named-journalprint.8 ${DESTDIR}${mandir}/man8
|
||||
- ${INSTALL_DATA} ${srcdir}/named-rrchecker.1 ${DESTDIR}${mandir}/man1
|
||||
- ${INSTALL_DATA} ${srcdir}/nsec3hash.8 ${DESTDIR}${mandir}/man8
|
||||
- ${INSTALL_DATA} ${srcdir}/genrandom.8 ${DESTDIR}${mandir}/man8
|
||||
- ${INSTALL_DATA} ${srcdir}/mdig.1 ${DESTDIR}${mandir}/man1
|
||||
|
||||
uninstall::
|
||||
rm -f ${DESTDIR}${mandir}/man1/mdig.1
|
@ -1,14 +1,6 @@
|
||||
bin/arpaname
|
||||
bin/bind9-config
|
||||
bin/delv
|
||||
bin/dig
|
||||
%%DNSTAP%%bin/dnstap-read
|
||||
bin/host
|
||||
bin/isc-config.sh
|
||||
bin/mdig
|
||||
bin/named-rrchecker
|
||||
bin/nslookup
|
||||
bin/nsupdate
|
||||
@sample etc/mtree/BIND.chroot.dist.sample
|
||||
@sample etc/mtree/BIND.chroot.local.dist.sample
|
||||
%%ETCDIR%%/bind.keys
|
||||
@ -284,17 +276,9 @@ lib/libisc.a
|
||||
lib/libisccc.a
|
||||
lib/libisccfg.a
|
||||
lib/liblwres.a
|
||||
man/man1/arpaname.1.gz
|
||||
man/man1/bind9-config.1.gz
|
||||
man/man1/delv.1.gz
|
||||
man/man1/dig.1.gz
|
||||
%%DNSTAP%%man/man1/dnstap-read.1.gz
|
||||
man/man1/host.1.gz
|
||||
man/man1/isc-config.sh.1.gz
|
||||
man/man1/mdig.1.gz
|
||||
man/man1/named-rrchecker.1.gz
|
||||
man/man1/nslookup.1.gz
|
||||
man/man1/nsupdate.1.gz
|
||||
man/man3/lwres.3.gz
|
||||
man/man3/lwres_addr_parse.3.gz
|
||||
man/man3/lwres_buffer.3.gz
|
||||
@ -383,27 +367,12 @@ man/man3/lwres_string_parse.3.gz
|
||||
man/man5/named.conf.5.gz
|
||||
man/man5/rndc.conf.5.gz
|
||||
man/man8/ddns-confgen.8.gz
|
||||
%%PYTHON%%man/man8/dnssec-checkds.8.gz
|
||||
%%PYTHON%%man/man8/dnssec-coverage.8.gz
|
||||
man/man8/dnssec-dsfromkey.8.gz
|
||||
man/man8/dnssec-importkey.8.gz
|
||||
man/man8/dnssec-keyfromlabel.8.gz
|
||||
man/man8/dnssec-keygen.8.gz
|
||||
%%PYTHON%%man/man8/dnssec-keymgr.8.gz
|
||||
man/man8/dnssec-revoke.8.gz
|
||||
man/man8/dnssec-settime.8.gz
|
||||
man/man8/dnssec-signzone.8.gz
|
||||
man/man8/dnssec-verify.8.gz
|
||||
man/man8/genrandom.8.gz
|
||||
man/man8/isc-hmac-fixup.8.gz
|
||||
man/man8/lwresd.8.gz
|
||||
man/man8/named-checkconf.8.gz
|
||||
man/man8/named-checkzone.8.gz
|
||||
man/man8/named-compilezone.8.gz
|
||||
man/man8/named-journalprint.8.gz
|
||||
%%LMDB%%man/man8/named-nzd2nzf.8.gz
|
||||
man/man8/named.8.gz
|
||||
man/man8/nsec3hash.8.gz
|
||||
%%NATIVE_PKCS11%%man/man8/pkcs11-destroy.8.gz
|
||||
%%NATIVE_PKCS11%%man/man8/pkcs11-keygen.8.gz
|
||||
%%NATIVE_PKCS11%%man/man8/pkcs11-list.8.gz
|
||||
@ -412,27 +381,12 @@ man/man8/rndc-confgen.8.gz
|
||||
man/man8/rndc.8.gz
|
||||
man/man8/tsig-keygen.8.gz
|
||||
sbin/ddns-confgen
|
||||
%%PYTHON%%sbin/dnssec-checkds
|
||||
%%PYTHON%%sbin/dnssec-coverage
|
||||
sbin/dnssec-dsfromkey
|
||||
sbin/dnssec-importkey
|
||||
sbin/dnssec-keyfromlabel
|
||||
sbin/dnssec-keygen
|
||||
%%PYTHON%%sbin/dnssec-keymgr
|
||||
sbin/dnssec-revoke
|
||||
sbin/dnssec-settime
|
||||
sbin/dnssec-signzone
|
||||
sbin/dnssec-verify
|
||||
sbin/genrandom
|
||||
sbin/isc-hmac-fixup
|
||||
sbin/lwresd
|
||||
sbin/named
|
||||
sbin/named-checkconf
|
||||
sbin/named-checkzone
|
||||
sbin/named-compilezone
|
||||
sbin/named-journalprint
|
||||
%%LMDB%%sbin/named-nzd2nzf
|
||||
sbin/nsec3hash
|
||||
%%NATIVE_PKCS11%%sbin/pkcs11-destroy
|
||||
%%NATIVE_PKCS11%%sbin/pkcs11-keygen
|
||||
%%NATIVE_PKCS11%%sbin/pkcs11-list
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= bind
|
||||
PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/}
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= dns net ipv6
|
||||
MASTER_SITES= ISC/bind9/${ISCVERSION}
|
||||
PKGNAMESUFFIX= 912
|
||||
@ -19,6 +19,7 @@ DEPRECATED= Support ends, please move to dns/bind914.
|
||||
EXPIRATION_DATE= 2019-05-31
|
||||
|
||||
LIB_DEPENDS= libxml2.so:textproc/libxml2
|
||||
RUN_DEPENDS= bind-tools>0:dns/bind-tools
|
||||
|
||||
USES= compiler:c11 cpe libedit
|
||||
# ISC releases things like 9.8.0-P1, which our versioning doesn't like
|
||||
@ -37,10 +38,11 @@ CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps \
|
||||
--with-readline="-L${LOCALBASE}/lib -ledit" \
|
||||
--with-dlopen=yes \
|
||||
--with-gost=no \
|
||||
--without-python \
|
||||
--sysconfdir=${ETCDIR}
|
||||
ETCDIR= ${PREFIX}/etc/namedb
|
||||
|
||||
CONFLICTS= bind911 bind913 bind914 bind9-devel bind-tools
|
||||
CONFLICTS= bind911 bind913 bind914 bind9-devel
|
||||
|
||||
USE_RC_SUBR= named
|
||||
SUB_FILES= pkg-message named.conf
|
||||
@ -49,9 +51,9 @@ PORTDOCS= *
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
OPTIONS_DEFAULT= SSL THREADS SIGCHASE IDN GSSAPI_NONE JSON PYTHON \
|
||||
OPTIONS_DEFAULT= SSL THREADS SIGCHASE IDN GSSAPI_NONE JSON \
|
||||
DLZ_FILESYSTEM LMDB RPZ_NSDNAME RPZ_NSIP TCP_FASTOPEN
|
||||
OPTIONS_DEFINE= IDN LARGE_FILE PYTHON JSON \
|
||||
OPTIONS_DEFINE= IDN LARGE_FILE JSON \
|
||||
FIXED_RRSET SIGCHASE IPV6 THREADS \
|
||||
RPZ_NSIP RPZ_NSDNAME DOCS \
|
||||
MINCACHE PORTREVISION QUERYTRACE LMDB DNSTAP \
|
||||
@ -87,7 +89,6 @@ LMDB_DESC= Use LMDB for zone management
|
||||
MINCACHE_DESC= Use the mincachettl patch
|
||||
NATIVE_PKCS11_DESC= Use PKCS\#11 native API (**READ HELP**)
|
||||
PORTREVISION_DESC= Show PORTREVISION in the version string
|
||||
PYTHON_DESC= Build with Python utilities
|
||||
QUERYTRACE_DESC= Enable the very verbose query tracelogging
|
||||
RPZ_NSDNAME_DESC= Enable RPZ NSDNAME policy records
|
||||
RPZ_NSIP_DESC= Enable RPZ NSIP trigger rules
|
||||
@ -155,11 +156,6 @@ MINCACHE_EXTRA_PATCHES= ${FILESDIR}/extrapatch-bind-min-override-ttl
|
||||
NATIVE_PKCS11_CONFIGURE_ENABLE= native-pkcs11
|
||||
NATIVE_PKCS11_IMPLIES= THREADS
|
||||
|
||||
PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply@${PY_FLAVOR}
|
||||
PYTHON_CONFIGURE_WITH= python=${PYTHON_CMD}
|
||||
PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply@${PY_FLAVOR}
|
||||
PYTHON_USES= python
|
||||
|
||||
QUERYTRACE_CONFIGURE_ENABLE= querytrace
|
||||
|
||||
RPZ_NSDNAME_CONFIGURE_ENABLE= rpz-nsdname
|
||||
@ -248,8 +244,4 @@ post-install-DOCS-on:
|
||||
${INSTALL_DATA} ${WRKSRC}/CHANGES* ${WRKSRC}/HISTORY.md \
|
||||
${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
# Can't use USE_PYTHON=autoplist
|
||||
post-install-PYTHON-on:
|
||||
@${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -type f | ${SED} -e 's|${STAGEDIR}||' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
52
dns/bind912/files/patch-no-bind-tools
Normal file
52
dns/bind912/files/patch-no-bind-tools
Normal file
@ -0,0 +1,52 @@
|
||||
Exclude the "tools" from building and installing.
|
||||
|
||||
--- bin/Makefile.in.orig 2019-02-27 23:28:15 UTC
|
||||
+++ bin/Makefile.in
|
||||
@@ -11,7 +11,7 @@ srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
|
||||
-SUBDIRS = named rndc dig delv dnssec tools nsupdate check confgen \
|
||||
+SUBDIRS = named rndc tools check confgen \
|
||||
@NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ tests
|
||||
TARGETS =
|
||||
|
||||
--- bin/tools/Makefile.in.orig 2019-02-27 23:42:04 UTC
|
||||
+++ bin/tools/Makefile.in
|
||||
@@ -39,10 +39,7 @@ SUBDIRS =
|
||||
|
||||
DNSTAPTARGETS = dnstap-read@EXEEXT@
|
||||
NZDTARGETS = named-nzd2nzf@EXEEXT@
|
||||
-TARGETS = arpaname@EXEEXT@ named-journalprint@EXEEXT@ \
|
||||
- named-rrchecker@EXEEXT@ nsec3hash@EXEEXT@ \
|
||||
- genrandom@EXEEXT@ mdig@EXEEXT@ \
|
||||
- @DNSTAPTARGETS@ @NZDTARGETS@
|
||||
+TARGETS = @DNSTAPTARGETS@ @NZDTARGETS@
|
||||
|
||||
DNSTAPSRCS = dnstap-read.c
|
||||
NZDSRCS = named-nzd2nzf.c
|
||||
@@ -122,24 +119,6 @@ dnstap:
|
||||
${INSTALL_DATA} ${srcdir}/dnstap-read.1 ${DESTDIR}${mandir}/man1
|
||||
|
||||
install:: ${TARGETS} installdirs @DNSTAP@ @NZD_TOOLS@
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} arpaname@EXEEXT@ \
|
||||
- ${DESTDIR}${bindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-journalprint@EXEEXT@ \
|
||||
- ${DESTDIR}${sbindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-rrchecker@EXEEXT@ \
|
||||
- ${DESTDIR}${bindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} nsec3hash@EXEEXT@ \
|
||||
- ${DESTDIR}${sbindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} genrandom@EXEEXT@ \
|
||||
- ${DESTDIR}${sbindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} mdig@EXEEXT@ \
|
||||
- ${DESTDIR}${bindir}
|
||||
- ${INSTALL_DATA} ${srcdir}/arpaname.1 ${DESTDIR}${mandir}/man1
|
||||
- ${INSTALL_DATA} ${srcdir}/named-journalprint.8 ${DESTDIR}${mandir}/man8
|
||||
- ${INSTALL_DATA} ${srcdir}/named-rrchecker.1 ${DESTDIR}${mandir}/man1
|
||||
- ${INSTALL_DATA} ${srcdir}/nsec3hash.8 ${DESTDIR}${mandir}/man8
|
||||
- ${INSTALL_DATA} ${srcdir}/genrandom.8 ${DESTDIR}${mandir}/man8
|
||||
- ${INSTALL_DATA} ${srcdir}/mdig.1 ${DESTDIR}${mandir}/man1
|
||||
|
||||
uninstall::
|
||||
rm -f ${DESTDIR}${mandir}/man1/mdig.1
|
@ -1,14 +1,6 @@
|
||||
bin/arpaname
|
||||
bin/bind9-config
|
||||
bin/delv
|
||||
bin/dig
|
||||
%%DNSTAP%%bin/dnstap-read
|
||||
bin/host
|
||||
bin/isc-config.sh
|
||||
bin/mdig
|
||||
bin/named-rrchecker
|
||||
bin/nslookup
|
||||
bin/nsupdate
|
||||
@sample etc/mtree/BIND.chroot.dist.sample
|
||||
@sample etc/mtree/BIND.chroot.local.dist.sample
|
||||
%%ETCDIR%%/bind.keys
|
||||
@ -286,40 +278,17 @@ lib/libisc.a
|
||||
lib/libisccc.a
|
||||
lib/libisccfg.a
|
||||
lib/libns.a
|
||||
man/man1/arpaname.1.gz
|
||||
man/man1/bind9-config.1.gz
|
||||
man/man1/delv.1.gz
|
||||
man/man1/dig.1.gz
|
||||
%%DNSTAP%%man/man1/dnstap-read.1.gz
|
||||
man/man1/host.1.gz
|
||||
man/man1/isc-config.sh.1.gz
|
||||
man/man1/mdig.1.gz
|
||||
man/man1/named-rrchecker.1.gz
|
||||
man/man1/nslookup.1.gz
|
||||
man/man1/nsupdate.1.gz
|
||||
man/man5/named.conf.5.gz
|
||||
man/man5/rndc.conf.5.gz
|
||||
man/man8/ddns-confgen.8.gz
|
||||
man/man8/dnssec-cds.8.gz
|
||||
%%PYTHON%%man/man8/dnssec-checkds.8.gz
|
||||
%%PYTHON%%man/man8/dnssec-coverage.8.gz
|
||||
man/man8/dnssec-dsfromkey.8.gz
|
||||
man/man8/dnssec-importkey.8.gz
|
||||
man/man8/dnssec-keyfromlabel.8.gz
|
||||
man/man8/dnssec-keygen.8.gz
|
||||
%%PYTHON%%man/man8/dnssec-keymgr.8.gz
|
||||
man/man8/dnssec-revoke.8.gz
|
||||
man/man8/dnssec-settime.8.gz
|
||||
man/man8/dnssec-signzone.8.gz
|
||||
man/man8/dnssec-verify.8.gz
|
||||
man/man8/genrandom.8.gz
|
||||
man/man8/named-checkconf.8.gz
|
||||
man/man8/named-checkzone.8.gz
|
||||
man/man8/named-compilezone.8.gz
|
||||
man/man8/named-journalprint.8.gz
|
||||
%%LMDB%%man/man8/named-nzd2nzf.8.gz
|
||||
man/man8/named.8.gz
|
||||
man/man8/nsec3hash.8.gz
|
||||
%%NATIVE_PKCS11%%man/man8/pkcs11-destroy.8.gz
|
||||
%%NATIVE_PKCS11%%man/man8/pkcs11-keygen.8.gz
|
||||
%%NATIVE_PKCS11%%man/man8/pkcs11-list.8.gz
|
||||
@ -328,26 +297,11 @@ man/man8/rndc-confgen.8.gz
|
||||
man/man8/rndc.8.gz
|
||||
man/man8/tsig-keygen.8.gz
|
||||
sbin/ddns-confgen
|
||||
sbin/dnssec-cds
|
||||
%%PYTHON%%sbin/dnssec-checkds
|
||||
%%PYTHON%%sbin/dnssec-coverage
|
||||
sbin/dnssec-dsfromkey
|
||||
sbin/dnssec-importkey
|
||||
sbin/dnssec-keyfromlabel
|
||||
sbin/dnssec-keygen
|
||||
%%PYTHON%%sbin/dnssec-keymgr
|
||||
sbin/dnssec-revoke
|
||||
sbin/dnssec-settime
|
||||
sbin/dnssec-signzone
|
||||
sbin/dnssec-verify
|
||||
sbin/genrandom
|
||||
sbin/named
|
||||
sbin/named-checkconf
|
||||
sbin/named-checkzone
|
||||
sbin/named-compilezone
|
||||
sbin/named-journalprint
|
||||
%%LMDB%%sbin/named-nzd2nzf
|
||||
sbin/nsec3hash
|
||||
%%NATIVE_PKCS11%%sbin/pkcs11-destroy
|
||||
%%NATIVE_PKCS11%%sbin/pkcs11-keygen
|
||||
%%NATIVE_PKCS11%%sbin/pkcs11-list
|
||||
|
@ -8,7 +8,7 @@ PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/}
|
||||
PORTREVISION= 0
|
||||
.else
|
||||
# dns/bind913 here
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
.endif
|
||||
CATEGORIES= dns net ipv6
|
||||
MASTER_SITES= ISC/bind9/${ISCVERSION}
|
||||
@ -30,6 +30,9 @@ LICENSE= MPL20
|
||||
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
||||
|
||||
LIB_DEPENDS= libxml2.so:textproc/libxml2
|
||||
.if !defined(BIND_TOOLS_SLAVE)
|
||||
RUN_DEPENDS= bind-tools>0:dns/bind-tools
|
||||
.endif
|
||||
|
||||
USES= compiler:c11 cpe libedit ssl
|
||||
# ISC releases things like 9.8.0-P1, which our versioning doesn't like
|
||||
@ -54,25 +57,29 @@ CONFLICTS= bind911 bind912 bind914 bind9-devel
|
||||
|
||||
.if defined(BIND_TOOLS_SLAVE)
|
||||
CONFIGURE_ARGS+= --disable-shared
|
||||
CONFLICTS+= bind913
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extrapatch-bind-tools
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-python
|
||||
USE_RC_SUBR= named
|
||||
SUB_FILES= pkg-message named.conf
|
||||
CONFLICTS+= bind-tools
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extrapatch-no-bind-tools
|
||||
|
||||
PORTDOCS= *
|
||||
.endif # BIND_TOOLS_SLAVE
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
OPTIONS_DEFAULT= SIGCHASE IDN GSSAPI_NONE JSON PYTHON
|
||||
OPTIONS_DEFINE= IDN LARGE_FILE PYTHON JSON \
|
||||
OPTIONS_DEFAULT= SIGCHASE IDN GSSAPI_NONE JSON
|
||||
OPTIONS_DEFINE= IDN LARGE_FILE JSON \
|
||||
FIXED_RRSET SIGCHASE
|
||||
|
||||
OPTIONS_RADIO= CRYPTO
|
||||
OPTIONS_RADIO_CRYPTO= NATIVE_PKCS11
|
||||
|
||||
.if !defined(BIND_TOOLS_SLAVE)
|
||||
.if defined(BIND_TOOLS_SLAVE)
|
||||
OPTIONS_DEFINE+= PYTHON
|
||||
OPTIONS_DEFAULT+= PYTHON
|
||||
.else
|
||||
OPTIONS_DEFAULT+= DLZ_FILESYSTEM LMDB TCP_FASTOPEN
|
||||
OPTIONS_DEFINE+= DOCS \
|
||||
MINCACHE PORTREVISION QUERYTRACE LMDB DNSTAP \
|
||||
@ -205,24 +212,13 @@ SUB_LIST+= ENGINES=${LOCALBASE}/lib/engines
|
||||
.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}
|
||||
@ -253,10 +249,11 @@ post-install-DOCS-on:
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/arm/Bv9ARM.pdf ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/CHANGES* ${WRKSRC}/HISTORY.md \
|
||||
${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
||||
.endif # BIND_TOOLS_SLAVE
|
||||
.else
|
||||
|
||||
# Can't use USE_PYTHON=autoplist
|
||||
post-install-PYTHON-on:
|
||||
@${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -type f | ${SED} -e 's|${STAGEDIR}||' >> ${TMPPLIST}
|
||||
.endif # BIND_TOOLS_SLAVE
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
40
dns/bind913/files/extrapatch-bind-tools
Normal file
40
dns/bind913/files/extrapatch-bind-tools
Normal file
@ -0,0 +1,40 @@
|
||||
--- Makefile.in.orig 2019-02-21 02:11:26 UTC
|
||||
+++ Makefile.in
|
||||
@@ -14,7 +14,7 @@ top_builddir = @top_builddir@
|
||||
|
||||
VERSION=@BIND9_VERSION@
|
||||
|
||||
-SUBDIRS = make lib fuzz bin doc
|
||||
+SUBDIRS = lib bin
|
||||
TARGETS =
|
||||
PREREQS = bind.keys.h
|
||||
|
||||
@@ -54,14 +54,11 @@ installdirs:
|
||||
${DESTDIR}${localstatedir}/run ${DESTDIR}${sysconfdir}
|
||||
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
|
||||
|
||||
-install:: isc-config.sh installdirs
|
||||
- ${INSTALL_SCRIPT} isc-config.sh ${DESTDIR}${bindir}
|
||||
+install:: installdirs
|
||||
rm -f ${DESTDIR}${bindir}/bind9-config
|
||||
@LN@ ${DESTDIR}${bindir}/isc-config.sh ${DESTDIR}${bindir}/bind9-config
|
||||
- ${INSTALL_DATA} ${top_srcdir}/isc-config.sh.1 ${DESTDIR}${mandir}/man1
|
||||
rm -f ${DESTDIR}${mandir}/man1/bind9-config.1
|
||||
@LN@ ${DESTDIR}${mandir}/man1/isc-config.sh.1 ${DESTDIR}${mandir}/man1/bind9-config.1
|
||||
- ${INSTALL_DATA} ${top_srcdir}/bind.keys ${DESTDIR}${sysconfdir}
|
||||
|
||||
uninstall::
|
||||
rm -f ${DESTDIR}${sysconfdir}/bind.keys
|
||||
--- bin/Makefile.in.orig 2019-02-21 02:11:26 UTC
|
||||
+++ bin/Makefile.in
|
||||
@@ -11,8 +11,8 @@ srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
|
||||
-SUBDIRS = named rndc dig delv dnssec tools nsupdate check confgen \
|
||||
- @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ plugins tests
|
||||
+SUBDIRS = dig delv dnssec tools nsupdate \
|
||||
+ @NZD_TOOLS@ @PYTHON_TOOLS@
|
||||
TARGETS =
|
||||
|
||||
@BIND9_MAKE_RULES@
|
49
dns/bind913/files/extrapatch-no-bind-tools
Normal file
49
dns/bind913/files/extrapatch-no-bind-tools
Normal file
@ -0,0 +1,49 @@
|
||||
--- bin/Makefile.in.orig 2019-02-21 02:11:26 UTC
|
||||
+++ bin/Makefile.in
|
||||
@@ -11,8 +11,8 @@ srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
|
||||
-SUBDIRS = named rndc dig delv dnssec tools nsupdate check confgen \
|
||||
- @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ plugins tests
|
||||
+SUBDIRS = named rndc tools check confgen \
|
||||
+ @NZD_TOOLS@ @PKCS11_TOOLS@ plugins tests
|
||||
TARGETS =
|
||||
|
||||
@BIND9_MAKE_RULES@
|
||||
--- bin/tools/Makefile.in.orig 2019-02-21 02:11:26 UTC
|
||||
+++ bin/tools/Makefile.in
|
||||
@@ -39,10 +39,7 @@ SUBDIRS =
|
||||
|
||||
DNSTAPTARGETS = dnstap-read@EXEEXT@
|
||||
NZDTARGETS = named-nzd2nzf@EXEEXT@
|
||||
-TARGETS = arpaname@EXEEXT@ named-journalprint@EXEEXT@ \
|
||||
- named-rrchecker@EXEEXT@ nsec3hash@EXEEXT@ \
|
||||
- mdig@EXEEXT@ \
|
||||
- @DNSTAPTARGETS@ @NZDTARGETS@
|
||||
+TARGETS = @DNSTAPTARGETS@ @NZDTARGETS@
|
||||
|
||||
DNSTAPSRCS = dnstap-read.c
|
||||
NZDSRCS = named-nzd2nzf.c
|
||||
@@ -118,21 +115,6 @@ dnstap:
|
||||
${INSTALL_DATA} ${srcdir}/dnstap-read.1 ${DESTDIR}${mandir}/man1
|
||||
|
||||
install:: ${TARGETS} installdirs @DNSTAP@ @NZD_TOOLS@
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} arpaname@EXEEXT@ \
|
||||
- ${DESTDIR}${bindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-journalprint@EXEEXT@ \
|
||||
- ${DESTDIR}${sbindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-rrchecker@EXEEXT@ \
|
||||
- ${DESTDIR}${bindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} nsec3hash@EXEEXT@ \
|
||||
- ${DESTDIR}${sbindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} mdig@EXEEXT@ \
|
||||
- ${DESTDIR}${bindir}
|
||||
- ${INSTALL_DATA} ${srcdir}/arpaname.1 ${DESTDIR}${mandir}/man1
|
||||
- ${INSTALL_DATA} ${srcdir}/named-journalprint.8 ${DESTDIR}${mandir}/man8
|
||||
- ${INSTALL_DATA} ${srcdir}/named-rrchecker.1 ${DESTDIR}${mandir}/man1
|
||||
- ${INSTALL_DATA} ${srcdir}/nsec3hash.8 ${DESTDIR}${mandir}/man8
|
||||
- ${INSTALL_DATA} ${srcdir}/mdig.1 ${DESTDIR}${mandir}/man1
|
||||
|
||||
uninstall::
|
||||
rm -f ${DESTDIR}${mandir}/man1/mdig.1
|
@ -1,14 +1,6 @@
|
||||
bin/arpaname
|
||||
bin/bind9-config
|
||||
bin/delv
|
||||
bin/dig
|
||||
%%DNSTAP%%bin/dnstap-read
|
||||
bin/host
|
||||
bin/isc-config.sh
|
||||
bin/mdig
|
||||
bin/named-rrchecker
|
||||
bin/nslookup
|
||||
bin/nsupdate
|
||||
@sample etc/mtree/BIND.chroot.dist.sample
|
||||
@sample etc/mtree/BIND.chroot.local.dist.sample
|
||||
%%ETCDIR%%/bind.keys
|
||||
@ -278,40 +270,18 @@ lib/libisc.a
|
||||
lib/libisccc.a
|
||||
lib/libisccfg.a
|
||||
lib/libns.a
|
||||
man/man1/arpaname.1.gz
|
||||
man/man1/bind9-config.1.gz
|
||||
man/man1/delv.1.gz
|
||||
man/man1/dig.1.gz
|
||||
%%DNSTAP%%man/man1/dnstap-read.1.gz
|
||||
man/man1/host.1.gz
|
||||
man/man1/isc-config.sh.1.gz
|
||||
man/man1/mdig.1.gz
|
||||
man/man1/named-rrchecker.1.gz
|
||||
man/man1/nslookup.1.gz
|
||||
man/man1/nsupdate.1.gz
|
||||
man/man5/named.conf.5.gz
|
||||
man/man5/rndc.conf.5.gz
|
||||
man/man8/ddns-confgen.8.gz
|
||||
man/man8/dnssec-cds.8.gz
|
||||
%%PYTHON%%man/man8/dnssec-checkds.8.gz
|
||||
%%PYTHON%%man/man8/dnssec-coverage.8.gz
|
||||
man/man8/dnssec-dsfromkey.8.gz
|
||||
man/man8/dnssec-importkey.8.gz
|
||||
man/man8/dnssec-keyfromlabel.8.gz
|
||||
man/man8/dnssec-keygen.8.gz
|
||||
%%PYTHON%%man/man8/dnssec-keymgr.8.gz
|
||||
man/man8/dnssec-revoke.8.gz
|
||||
man/man8/dnssec-settime.8.gz
|
||||
man/man8/dnssec-signzone.8.gz
|
||||
man/man8/dnssec-verify.8.gz
|
||||
man/man8/filter-aaaa.8.gz
|
||||
man/man8/named-checkconf.8.gz
|
||||
man/man8/named-checkzone.8.gz
|
||||
man/man8/named-compilezone.8.gz
|
||||
man/man8/named-journalprint.8.gz
|
||||
%%LMDB%%man/man8/named-nzd2nzf.8.gz
|
||||
man/man8/named.8.gz
|
||||
man/man8/nsec3hash.8.gz
|
||||
%%NATIVE_PKCS11%%man/man8/pkcs11-destroy.8.gz
|
||||
%%NATIVE_PKCS11%%man/man8/pkcs11-keygen.8.gz
|
||||
%%NATIVE_PKCS11%%man/man8/pkcs11-list.8.gz
|
||||
@ -320,25 +290,11 @@ man/man8/rndc-confgen.8.gz
|
||||
man/man8/rndc.8.gz
|
||||
man/man8/tsig-keygen.8.gz
|
||||
sbin/ddns-confgen
|
||||
sbin/dnssec-cds
|
||||
%%PYTHON%%sbin/dnssec-checkds
|
||||
%%PYTHON%%sbin/dnssec-coverage
|
||||
sbin/dnssec-dsfromkey
|
||||
sbin/dnssec-importkey
|
||||
sbin/dnssec-keyfromlabel
|
||||
sbin/dnssec-keygen
|
||||
%%PYTHON%%sbin/dnssec-keymgr
|
||||
sbin/dnssec-revoke
|
||||
sbin/dnssec-settime
|
||||
sbin/dnssec-signzone
|
||||
sbin/dnssec-verify
|
||||
sbin/named
|
||||
sbin/named-checkconf
|
||||
sbin/named-checkzone
|
||||
sbin/named-compilezone
|
||||
sbin/named-journalprint
|
||||
%%LMDB%%sbin/named-nzd2nzf
|
||||
sbin/nsec3hash
|
||||
%%NATIVE_PKCS11%%sbin/pkcs11-destroy
|
||||
%%NATIVE_PKCS11%%sbin/pkcs11-keygen
|
||||
%%NATIVE_PKCS11%%sbin/pkcs11-list
|
||||
|
@ -7,8 +7,8 @@ PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/}
|
||||
# dns/bind-tools here
|
||||
PORTREVISION= 0
|
||||
.else
|
||||
# dns/bind913 here
|
||||
PORTREVISION= 0
|
||||
# dns/bind914 here
|
||||
PORTREVISION= 1
|
||||
.endif
|
||||
CATEGORIES= dns net ipv6
|
||||
MASTER_SITES= ISC/bind9/${ISCVERSION}
|
||||
@ -30,6 +30,9 @@ LICENSE= MPL20
|
||||
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
||||
|
||||
LIB_DEPENDS= libxml2.so:textproc/libxml2
|
||||
.if !defined(BIND_TOOLS_SLAVE)
|
||||
RUN_DEPENDS= bind-tools>0:dns/bind-tools
|
||||
.endif
|
||||
|
||||
USES= compiler:c11 cpe libedit ssl
|
||||
# ISC releases things like 9.8.0-P1, which our versioning doesn't like
|
||||
@ -54,25 +57,29 @@ CONFLICTS= bind911 bind912 bind13 bind9-devel
|
||||
|
||||
.if defined(BIND_TOOLS_SLAVE)
|
||||
CONFIGURE_ARGS+= --disable-shared
|
||||
CONFLICTS+= bind914
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extrapatch-bind-tools
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-python
|
||||
USE_RC_SUBR= named
|
||||
SUB_FILES= pkg-message named.conf
|
||||
CONFLICTS+= bind-tools
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extrapatch-no-bind-tools
|
||||
|
||||
PORTDOCS= *
|
||||
.endif # BIND_TOOLS_SLAVE
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
OPTIONS_DEFAULT= SIGCHASE IDN GSSAPI_NONE JSON PYTHON
|
||||
OPTIONS_DEFINE= IDN LARGE_FILE PYTHON JSON \
|
||||
OPTIONS_DEFAULT= SIGCHASE IDN GSSAPI_NONE JSON
|
||||
OPTIONS_DEFINE= IDN LARGE_FILE JSON \
|
||||
FIXED_RRSET SIGCHASE
|
||||
|
||||
OPTIONS_RADIO= CRYPTO
|
||||
OPTIONS_RADIO_CRYPTO= NATIVE_PKCS11
|
||||
|
||||
.if !defined(BIND_TOOLS_SLAVE)
|
||||
.if defined(BIND_TOOLS_SLAVE)
|
||||
OPTIONS_DEFINE+= PYTHON
|
||||
OPTIONS_DEFAULT+= PYTHON
|
||||
.else
|
||||
OPTIONS_DEFAULT+= DLZ_FILESYSTEM LMDB TCP_FASTOPEN
|
||||
OPTIONS_DEFINE+= DOCS \
|
||||
MINCACHE PORTREVISION QUERYTRACE LMDB DNSTAP \
|
||||
@ -205,24 +212,13 @@ SUB_LIST+= ENGINES=${LOCALBASE}/lib/engines
|
||||
.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}
|
||||
@ -253,10 +249,11 @@ post-install-DOCS-on:
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/arm/Bv9ARM.pdf ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/CHANGES* ${WRKSRC}/HISTORY.md \
|
||||
${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
||||
.endif # BIND_TOOLS_SLAVE
|
||||
.else
|
||||
|
||||
# Can't use USE_PYTHON=autoplist
|
||||
post-install-PYTHON-on:
|
||||
@${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -type f | ${SED} -e 's|${STAGEDIR}||' >> ${TMPPLIST}
|
||||
.endif # BIND_TOOLS_SLAVE
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
41
dns/bind914/files/extrapatch-bind-tools
Normal file
41
dns/bind914/files/extrapatch-bind-tools
Normal file
@ -0,0 +1,41 @@
|
||||
Only select the "tools" part of bind for building.
|
||||
|
||||
--- Makefile.in.orig 2019-03-20 05:57:56 UTC
|
||||
+++ Makefile.in
|
||||
@@ -14,7 +14,7 @@ top_builddir = @top_builddir@
|
||||
|
||||
VERSION=@BIND9_VERSION@
|
||||
|
||||
-SUBDIRS = make lib fuzz bin doc
|
||||
+SUBDIRS = lib bin
|
||||
TARGETS =
|
||||
PREREQS = bind.keys.h
|
||||
|
||||
@@ -54,14 +54,11 @@ installdirs:
|
||||
${DESTDIR}${localstatedir}/run ${DESTDIR}${sysconfdir}
|
||||
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
|
||||
|
||||
-install:: isc-config.sh installdirs
|
||||
- ${INSTALL_SCRIPT} isc-config.sh ${DESTDIR}${bindir}
|
||||
+install:: installdirs
|
||||
rm -f ${DESTDIR}${bindir}/bind9-config
|
||||
@LN@ ${DESTDIR}${bindir}/isc-config.sh ${DESTDIR}${bindir}/bind9-config
|
||||
- ${INSTALL_DATA} ${top_srcdir}/isc-config.sh.1 ${DESTDIR}${mandir}/man1
|
||||
rm -f ${DESTDIR}${mandir}/man1/bind9-config.1
|
||||
@LN@ ${DESTDIR}${mandir}/man1/isc-config.sh.1 ${DESTDIR}${mandir}/man1/bind9-config.1
|
||||
- ${INSTALL_DATA} ${top_srcdir}/bind.keys ${DESTDIR}${sysconfdir}
|
||||
|
||||
uninstall::
|
||||
rm -f ${DESTDIR}${sysconfdir}/bind.keys
|
||||
--- bin/Makefile.in.orig 2019-03-20 05:57:56 UTC
|
||||
+++ bin/Makefile.in
|
||||
@@ -11,7 +11,7 @@ srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
|
||||
-SUBDIRS = named rndc dig delv dnssec tools nsupdate check confgen \
|
||||
- @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ plugins tests
|
||||
+SUBDIRS = dig delv dnssec tools nsupdate \
|
||||
+ @NZD_TOOLS@ @PYTHON_TOOLS@
|
||||
TARGETS =
|
||||
|
51
dns/bind914/files/extrapatch-no-bind-tools
Normal file
51
dns/bind914/files/extrapatch-no-bind-tools
Normal file
@ -0,0 +1,51 @@
|
||||
Exclude the "tools" from building and installing.
|
||||
|
||||
--- bin/Makefile.in.orig 2019-03-20 05:57:56 UTC
|
||||
+++ bin/Makefile.in
|
||||
@@ -11,8 +11,8 @@ srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
|
||||
-SUBDIRS = named rndc dig delv dnssec tools nsupdate check confgen \
|
||||
- @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ plugins tests
|
||||
+SUBDIRS = named rndc tools check confgen \
|
||||
+ @NZD_TOOLS@ @PKCS11_TOOLS@ plugins tests
|
||||
TARGETS =
|
||||
|
||||
@BIND9_MAKE_RULES@
|
||||
--- bin/tools/Makefile.in.orig 2019-04-15 14:30:39 UTC
|
||||
+++ bin/tools/Makefile.in
|
||||
@@ -39,10 +39,7 @@ SUBDIRS =
|
||||
|
||||
DNSTAPTARGETS = dnstap-read@EXEEXT@
|
||||
NZDTARGETS = named-nzd2nzf@EXEEXT@
|
||||
-TARGETS = arpaname@EXEEXT@ named-journalprint@EXEEXT@ \
|
||||
- named-rrchecker@EXEEXT@ nsec3hash@EXEEXT@ \
|
||||
- mdig@EXEEXT@ \
|
||||
- @DNSTAPTARGETS@ @NZDTARGETS@
|
||||
+TARGETS = @DNSTAPTARGETS@ @NZDTARGETS@
|
||||
|
||||
DNSTAPSRCS = dnstap-read.c
|
||||
NZDSRCS = named-nzd2nzf.c
|
||||
@@ -118,21 +115,6 @@ dnstap:
|
||||
${INSTALL_DATA} ${srcdir}/dnstap-read.1 ${DESTDIR}${mandir}/man1
|
||||
|
||||
install:: ${TARGETS} installdirs @DNSTAP@ @NZD_TOOLS@
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} arpaname@EXEEXT@ \
|
||||
- ${DESTDIR}${bindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-journalprint@EXEEXT@ \
|
||||
- ${DESTDIR}${sbindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-rrchecker@EXEEXT@ \
|
||||
- ${DESTDIR}${bindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} nsec3hash@EXEEXT@ \
|
||||
- ${DESTDIR}${sbindir}
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} mdig@EXEEXT@ \
|
||||
- ${DESTDIR}${bindir}
|
||||
- ${INSTALL_DATA} ${srcdir}/arpaname.1 ${DESTDIR}${mandir}/man1
|
||||
- ${INSTALL_DATA} ${srcdir}/named-journalprint.8 ${DESTDIR}${mandir}/man8
|
||||
- ${INSTALL_DATA} ${srcdir}/named-rrchecker.1 ${DESTDIR}${mandir}/man1
|
||||
- ${INSTALL_DATA} ${srcdir}/nsec3hash.8 ${DESTDIR}${mandir}/man8
|
||||
- ${INSTALL_DATA} ${srcdir}/mdig.1 ${DESTDIR}${mandir}/man1
|
||||
|
||||
uninstall::
|
||||
rm -f ${DESTDIR}${mandir}/man1/mdig.1
|
@ -1,14 +1,6 @@
|
||||
bin/arpaname
|
||||
bin/bind9-config
|
||||
bin/delv
|
||||
bin/dig
|
||||
%%DNSTAP%%bin/dnstap-read
|
||||
bin/host
|
||||
bin/isc-config.sh
|
||||
bin/mdig
|
||||
bin/named-rrchecker
|
||||
bin/nslookup
|
||||
bin/nsupdate
|
||||
@sample etc/mtree/BIND.chroot.dist.sample
|
||||
@sample etc/mtree/BIND.chroot.local.dist.sample
|
||||
%%ETCDIR%%/bind.keys
|
||||
@ -278,40 +270,18 @@ lib/libisccc.a
|
||||
lib/libisccfg.a
|
||||
lib/libns.a
|
||||
lib/named/filter-aaaa.so
|
||||
man/man1/arpaname.1.gz
|
||||
man/man1/bind9-config.1.gz
|
||||
man/man1/delv.1.gz
|
||||
man/man1/dig.1.gz
|
||||
%%DNSTAP%%man/man1/dnstap-read.1.gz
|
||||
man/man1/host.1.gz
|
||||
man/man1/isc-config.sh.1.gz
|
||||
man/man1/mdig.1.gz
|
||||
man/man1/named-rrchecker.1.gz
|
||||
man/man1/nslookup.1.gz
|
||||
man/man1/nsupdate.1.gz
|
||||
man/man5/named.conf.5.gz
|
||||
man/man5/rndc.conf.5.gz
|
||||
man/man8/ddns-confgen.8.gz
|
||||
man/man8/dnssec-cds.8.gz
|
||||
%%PYTHON%%man/man8/dnssec-checkds.8.gz
|
||||
%%PYTHON%%man/man8/dnssec-coverage.8.gz
|
||||
man/man8/dnssec-dsfromkey.8.gz
|
||||
man/man8/dnssec-importkey.8.gz
|
||||
man/man8/dnssec-keyfromlabel.8.gz
|
||||
man/man8/dnssec-keygen.8.gz
|
||||
%%PYTHON%%man/man8/dnssec-keymgr.8.gz
|
||||
man/man8/dnssec-revoke.8.gz
|
||||
man/man8/dnssec-settime.8.gz
|
||||
man/man8/dnssec-signzone.8.gz
|
||||
man/man8/dnssec-verify.8.gz
|
||||
man/man8/filter-aaaa.8.gz
|
||||
man/man8/named-checkconf.8.gz
|
||||
man/man8/named-checkzone.8.gz
|
||||
man/man8/named-compilezone.8.gz
|
||||
man/man8/named-journalprint.8.gz
|
||||
%%LMDB%%man/man8/named-nzd2nzf.8.gz
|
||||
man/man8/named.8.gz
|
||||
man/man8/nsec3hash.8.gz
|
||||
%%NATIVE_PKCS11%%man/man8/pkcs11-destroy.8.gz
|
||||
%%NATIVE_PKCS11%%man/man8/pkcs11-keygen.8.gz
|
||||
%%NATIVE_PKCS11%%man/man8/pkcs11-list.8.gz
|
||||
@ -320,25 +290,11 @@ man/man8/rndc-confgen.8.gz
|
||||
man/man8/rndc.8.gz
|
||||
man/man8/tsig-keygen.8.gz
|
||||
sbin/ddns-confgen
|
||||
sbin/dnssec-cds
|
||||
%%PYTHON%%sbin/dnssec-checkds
|
||||
%%PYTHON%%sbin/dnssec-coverage
|
||||
sbin/dnssec-dsfromkey
|
||||
sbin/dnssec-importkey
|
||||
sbin/dnssec-keyfromlabel
|
||||
sbin/dnssec-keygen
|
||||
%%PYTHON%%sbin/dnssec-keymgr
|
||||
sbin/dnssec-revoke
|
||||
sbin/dnssec-settime
|
||||
sbin/dnssec-signzone
|
||||
sbin/dnssec-verify
|
||||
sbin/named
|
||||
sbin/named-checkconf
|
||||
sbin/named-checkzone
|
||||
sbin/named-compilezone
|
||||
sbin/named-journalprint
|
||||
%%LMDB%%sbin/named-nzd2nzf
|
||||
sbin/nsec3hash
|
||||
%%NATIVE_PKCS11%%sbin/pkcs11-destroy
|
||||
%%NATIVE_PKCS11%%sbin/pkcs11-keygen
|
||||
%%NATIVE_PKCS11%%sbin/pkcs11-list
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= zkt
|
||||
DISTVERSION= 1.1.2
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= dns
|
||||
MASTER_SITES= http://www.hznet.de/dns/zkt/
|
||||
|
||||
@ -13,7 +13,7 @@ COMMENT= Tool to manage keys and signatures for DNSSEC-zones
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= dnssec-signzone:dns/bind911
|
||||
BUILD_DEPENDS= dnssec-signzone:dns/bind-tools
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
DIR_NAMED_CONF?= /etc/namedb
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= monitoring-plugins
|
||||
PORTVERSION= 2.2
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= https://www.monitoring-plugins.org/download/ LOCAL/mat/${PORTNAME}
|
||||
|
||||
@ -18,11 +18,9 @@ CONFLICTS_INSTALL= nagios-plugins-*
|
||||
USES= charsetfix gmake perl5 libtool ssl
|
||||
USE_SUBMAKE= yes
|
||||
|
||||
BIND_VERS=11 12 14
|
||||
|
||||
OPTIONS_DEFINE= QSTAT FPING NETSNMP RADIUS MYSQL PGSQL LDAP IPV6 NLS DBI EXTRAOPTS SSH_PORTABLE
|
||||
OPTIONS_SINGLE= DNS
|
||||
OPTIONS_SINGLE_DNS= DNS_BASE DNS_BINDTOOLS ${BIND_VERS:S/^/DNS_BIND9/}
|
||||
OPTIONS_SINGLE_DNS= DNS_BASE DNS_BINDTOOLS
|
||||
OPTIONS_DEFAULT=EXTRAOPTS DNS_BASE
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
@ -41,9 +39,6 @@ DNS_DESC= Configuration of check_dig and check_dns (see help)
|
||||
|
||||
DNS_BASE_DESC= >= 10 means drill for check_dig and no check_dns
|
||||
DNS_BINDTOOLS_DESC= Use dig and nslookup from dns/bind-tools
|
||||
.for v in ${BIND_VERS}
|
||||
DNS_BIND9${v}_DESC= Use dig and nslookup from dns/bind9${v}
|
||||
.endfor
|
||||
|
||||
EXTRAOPTS_CONFIGURE_ENABLE= extra-opts
|
||||
|
||||
@ -117,11 +112,6 @@ DBI_CONFIGURE_WITH= dbi
|
||||
DNS_BINDTOOLS_BUILD_DEPENDS= ${LOCALBASE}/bin/dig:dns/bind-tools
|
||||
DNS_BINDTOOLS_CONFIGURE_ON= --with-dig-command=${LOCALBASE}/bin/dig \
|
||||
--with-nslookup-command=${LOCALBASE}/bin/nslookup
|
||||
.for v in ${BIND_VERS}
|
||||
DNS_BIND9${v}_BUILD_DEPENDS= ${LOCALBASE}/bin/dig:dns/bind9${v}
|
||||
DNS_BIND9${v}_CONFIGURE_ON= --with-dig-command=${LOCALBASE}/bin/dig \
|
||||
--with-nslookup-command=${LOCALBASE}/bin/nslookup
|
||||
.endfor
|
||||
|
||||
SSH_PORTABLE_BUILD_DEPENDS= ${LOCALBASE}/bin/ssh:security/openssh-portable
|
||||
SSH_PORTABLE_RUN_DEPENDS:= ${SSH_PORTABLE_BUILD_DEPENDS}
|
||||
@ -135,10 +125,6 @@ CONFIGURE_ARGS+=--with-dig-command=/usr/bin/drill \
|
||||
ac_cv_path_PATH_TO_NSLOOKUP=
|
||||
PLIST_SUB+= CHECK_DNS="@comment "
|
||||
.else
|
||||
. if ${PORT_OPTIONS:MDNS_BASE}
|
||||
CONFIGURE_ARGS+= --with-dig-command=/usr/bin/dig \
|
||||
--with-nslookup-command=/usr/bin/nslookup
|
||||
. endif
|
||||
PLIST_SUB+= CHECK_DNS=""
|
||||
.endif
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= nagios-plugins
|
||||
PORTVERSION= 2.2.1
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= https://www.nagios-plugins.org/download/ \
|
||||
@ -20,11 +20,9 @@ CONFLICTS_INSTALL= monitoring-plugins-*
|
||||
USES= charsetfix gmake perl5 libtool ssl
|
||||
USE_SUBMAKE= yes
|
||||
|
||||
BIND_VERS=11 12 14
|
||||
|
||||
OPTIONS_DEFINE= QSTAT FPING NETSNMP RADIUS MYSQL PGSQL LDAP IPV6 NLS DBI EXTRAOPTS SSH_PORTABLE
|
||||
OPTIONS_SINGLE= DNS
|
||||
OPTIONS_SINGLE_DNS= DNS_BASE DNS_BINDTOOLS ${BIND_VERS:S/^/DNS_BIND9/}
|
||||
OPTIONS_SINGLE_DNS= DNS_BASE DNS_BINDTOOLS
|
||||
OPTIONS_DEFAULT=EXTRAOPTS DNS_BASE
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
@ -43,9 +41,6 @@ DNS_DESC= Configuration of check_dig and check_dns (see help)
|
||||
|
||||
DNS_BASE_DESC= >= 10 means drill for check_dig and no check_dns
|
||||
DNS_BINDTOOLS_DESC= Use dig and nslookup from dns/bind-tools
|
||||
.for v in ${BIND_VERS}
|
||||
DNS_BIND9${v}_DESC= Use dig and nslookup from dns/bind9${v}
|
||||
.endfor
|
||||
|
||||
EXTRAOPTS_CONFIGURE_ENABLE= extra-opts
|
||||
|
||||
@ -123,11 +118,6 @@ DBI_CONFIGURE_WITH= dbi
|
||||
DNS_BINDTOOLS_BUILD_DEPENDS= ${LOCALBASE}/bin/dig:dns/bind-tools
|
||||
DNS_BINDTOOLS_CONFIGURE_ON= --with-dig-command=${LOCALBASE}/bin/dig \
|
||||
--with-nslookup-command=${LOCALBASE}/bin/nslookup
|
||||
.for v in ${BIND_VERS}
|
||||
DNS_BIND9${v}_BUILD_DEPENDS= ${LOCALBASE}/bin/dig:dns/bind9${v}
|
||||
DNS_BIND9${v}_CONFIGURE_ON= --with-dig-command=${LOCALBASE}/bin/dig \
|
||||
--with-nslookup-command=${LOCALBASE}/bin/nslookup
|
||||
.endfor
|
||||
|
||||
SSH_PORTABLE_BUILD_DEPENDS= ${LOCALBASE}/bin/ssh:security/openssh-portable
|
||||
SSH_PORTABLE_RUN_DEPENDS:= ${SSH_PORTABLE_BUILD_DEPENDS}
|
||||
@ -141,10 +131,6 @@ CONFIGURE_ARGS+=--with-dig-command=/usr/bin/drill \
|
||||
ac_cv_path_PATH_TO_NSLOOKUP=
|
||||
PLIST_SUB+= CHECK_DNS="@comment "
|
||||
.else
|
||||
. if ${PORT_OPTIONS:MDNS_BASE}
|
||||
CONFIGURE_ARGS+= --with-dig-command=/usr/bin/dig \
|
||||
--with-nslookup-command=/usr/bin/nslookup
|
||||
. endif
|
||||
PLIST_SUB+= CHECK_DNS=""
|
||||
.endif
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= sssd
|
||||
PORTVERSION= 1.11.7
|
||||
PORTREVISION= 14
|
||||
PORTREVISION= 15
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= https://releases.pagure.org/SSSD/${PORTNAME}/
|
||||
|
||||
@ -32,7 +32,7 @@ BUILD_DEPENDS= xmlcatalog:textproc/libxml2 \
|
||||
xsltproc:textproc/libxslt \
|
||||
xmlcatmgr:textproc/xmlcatmgr \
|
||||
krb5>=1.10:security/krb5 \
|
||||
nsupdate:dns/bind911
|
||||
nsupdate:dns/bind-tools
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-selinux=no --with-semanage=no \
|
||||
|
Loading…
Reference in New Issue
Block a user