Date: Thu, 20 Apr 2017 13:12:36 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438945 - in head/dns: bind-tools bind9-devel bind9-devel/files bind910 bind910/files bind911 bind911/files bind99 bind99/files Message-ID: <201704201312.v3KDCa93099675@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Thu Apr 20 13:12:35 2017 New Revision: 438945 URL: https://svnweb.freebsd.org/changeset/ports/438945 Log: Update to 9.9.10, 9.10.5, 9.11.1 and 9.12 to latest snapshot. While there: Make it more maintainable by sorting stuff in the Makefile and removing vestigial pre 10.3 things. Refresh the root zone hints. "Fix" the configuration section telling you to get some top level zones from f.root-servers.net, which does not allow axfr any more. [1] PR: 218656 [1] Reported by: Thomas Steen Rasmussen / Tykling [1] MFH: 2017Q2 Sponsored by: Absolight Modified: head/dns/bind-tools/Makefile (contents, props changed) head/dns/bind9-devel/Makefile (contents, props changed) head/dns/bind9-devel/distinfo (contents, props changed) head/dns/bind9-devel/files/extrapatch-bind-min-override-ttl (contents, props changed) head/dns/bind9-devel/files/named.conf.in head/dns/bind9-devel/files/named.root head/dns/bind910/Makefile (contents, props changed) head/dns/bind910/distinfo (contents, props changed) head/dns/bind910/files/extrapatch-bind-min-override-ttl (contents, props changed) head/dns/bind910/files/named.conf.in head/dns/bind910/files/named.root head/dns/bind910/files/patch-bin_tests_system_dlzexternal_Makefile.in (contents, props changed) head/dns/bind910/files/patch-configure (contents, props changed) head/dns/bind910/pkg-help (contents, props changed) head/dns/bind910/pkg-plist (contents, props changed) head/dns/bind911/Makefile (contents, props changed) head/dns/bind911/distinfo (contents, props changed) head/dns/bind911/files/extrapatch-bind-min-override-ttl (contents, props changed) head/dns/bind911/files/named.conf.in head/dns/bind911/files/named.root head/dns/bind911/files/patch-bin_tests_system_dlzexternal_Makefile.in (contents, props changed) head/dns/bind911/files/patch-configure (contents, props changed) head/dns/bind911/pkg-help (contents, props changed) head/dns/bind99/Makefile (contents, props changed) head/dns/bind99/distinfo (contents, props changed) head/dns/bind99/files/extrapatch-bind-min-override-ttl (contents, props changed) head/dns/bind99/files/named.conf.in head/dns/bind99/files/named.root head/dns/bind99/files/patch-configure (contents, props changed) head/dns/bind99/pkg-help (contents, props changed) head/dns/bind99/pkg-plist (contents, props changed) Modified: head/dns/bind-tools/Makefile ============================================================================== --- head/dns/bind-tools/Makefile Thu Apr 20 12:33:57 2017 (r438944) +++ head/dns/bind-tools/Makefile Thu Apr 20 13:12:35 2017 (r438945) @@ -5,7 +5,6 @@ MASTERDIR= ${.CURDIR}/../../dns/bind911 DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist -PKGINSTALL= /nonexistent BIND_TOOLS_SLAVE= YES Modified: head/dns/bind9-devel/Makefile ============================================================================== --- head/dns/bind9-devel/Makefile Thu Apr 20 12:33:57 2017 (r438944) +++ head/dns/bind9-devel/Makefile Thu Apr 20 13:12:35 2017 (r438945) @@ -8,7 +8,7 @@ PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b PORTREVISION= 0 .else # dns/bind9xx here -PORTREVISION= 1 +PORTREVISION= 2 .endif CATEGORIES= dns net ipv6 MASTER_SITES= LOCAL/mat/bind @@ -28,10 +28,11 @@ COMMENT= BIND DNS suite with updated DNS .endif LICENSE= MPL +LICENSE_FILE= ${WRKSRC}/COPYRIGHT # ISC releases things like 9.8.0-P1, which our versioning doesn't like -ISCVERSION= 9.12.0a.2017.04.13 -HASH= 19643a1 +ISCVERSION= 9.12.0a.2017.04.20 +HASH= 706c6ac5 USES= cpe libedit @@ -44,27 +45,34 @@ CPE_UPDATE= ${ISCVERSION:C/.*-//:tl} LIB_DEPENDS= libxml2.so:textproc/libxml2 GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --localstatedir=/var --disable-linux-caps \ +CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps \ --disable-symtable \ --with-randomdev=/dev/random \ --with-libxml2=${LOCALBASE} \ --with-readline="-L${LOCALBASE}/lib -ledit" \ --with-dlopen=yes \ --sysconfdir=${ETCDIR} +ETCDIR= ${PREFIX}/etc/namedb + +CONFLICTS= bind99 bind910 bind9-devel + .if defined(BIND_TOOLS_SLAVE) CONFIGURE_ARGS+= --disable-shared -.endif -ETCDIR= ${PREFIX}/etc/namedb +CONFLICTS+= bind911 +.else +USE_RC_SUBR= named +SUB_FILES= pkg-message named.conf +CONFLICTS+= bind-tools +.endif # BIND_TOOLS_SLAVE -CONFLICTS+= bind99 bind910 bind911 +MAKE_JOBS_UNSAFE= yes -.if !defined(BIND_TOOLS_SLAVE) -SUB_FILES= pkg-message -.endif +PORTDOCS= * OPTIONS_DEFAULT= SSL THREADS SIGCHASE IDN GSSAPI_NONE JSON OPTIONS_DEFINE= IDN LARGE_FILE PYTHON JSON \ FIXED_RRSET SIGCHASE IPV6 THREADS FILTER_AAAA + OPTIONS_RADIO= CRYPTO GOSTDEF OPTIONS_RADIO_CRYPTO= SSL NATIVE_PKCS11 OPTIONS_RADIO_GOSTDEF= GOST GOST_ASN1 @@ -83,151 +91,135 @@ OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAP OPTIONS_SUB= yes -SSL_DESC= Build with OpenSSL (Required for DNSSEC) -LARGE_FILE_DESC= 64-bit file support -FIXED_RRSET_DESC= Enable fixed rrset ordering -SIGCHASE_DESC= dig/host/nslookup will do DNSSEC validation -FILTER_AAAA_DESC= Enable filtering of AAAA records CRYPTO_DESC= Choose which crypto engine to use -NATIVE_PKCS11_DESC= Use PKCS\#11 native API (**READ HELP**) -GEOIP_DESC= Allow geographically based ACL. -GOSTDEF_DESC= Enable GOST ciphers, needs SSL (see help on 8 and 9) -GOST_DESC= GOST raw keys (new default) -GOST_ASN1_DESC= GOST using ASN.1 -PYTHON_DESC= Build with Python utilities -START_LATE_DESC= Start BIND late in the boot process -MINCACHE_DESC= Use the mincachettl patch -PORTREVISION_DESC= Show PORTREVISION in the version string -QUERYTRACE_DESC= Enable the very verbose query tracelogging -LMDB_DESC= Use LMDB for zone management -DNSTAP_DESC= Provides fast passive logging of DNS messages - -RPZ_NSIP_DESC= Enable RPZ NSIP trigger rules -RPZ_NSDNAME_DESC= Enable RPZ NSDNAME policy records -DLZ_DESC= Dynamically Loadable Zones -DLZ_POSTGRESQL_DESC= DLZ Postgres driver -DLZ_MYSQL_DESC= DLZ MySQL driver (no threading) DLZ_BDB_DESC= DLZ BDB driver -DLZ_LDAP_DESC= DLZ LDAP driver +DLZ_DESC= Dynamically Loadable Zones DLZ_FILESYSTEM_DESC= DLZ filesystem driver +DLZ_LDAP_DESC= DLZ LDAP driver +DLZ_MYSQL_DESC= DLZ MySQL driver (no threading) +DLZ_POSTGRESQL_DESC= DLZ Postgres driver DLZ_STUB_DESC= DLZ stub driver +DNSTAP_DESC= Provides fast passive logging of DNS messages +FILTER_AAAA_DESC= Enable filtering of AAAA records +FIXED_RRSET_DESC= Enable fixed rrset ordering +GEOIP_DESC= Allow geographically based ACL. +GOSTDEF_DESC= Enable GOST ciphers, needs SSL +GOST_ASN1_DESC= GOST using ASN.1 +GOST_DESC= GOST raw keys (new default) GSSAPI_BASE_DESC= Using Heimdal in base GSSAPI_HEIMDAL_DESC= Using security/heimdal GSSAPI_MIT_DESC= Using security/krb5 GSSAPI_NONE_DESC= Disable +LARGE_FILE_DESC= 64-bit file support +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 +SIGCHASE_DESC= dig/host/nslookup will do DNSSEC validation +SSL_DESC= Build with OpenSSL (Required for DNSSEC) +START_LATE_DESC= Start BIND late in the boot process (see help) -.if defined(BIND_TOOLS_SLAVE) -CONFLICTS+= bind9-devel -.else -CONFLICTS+= bind-tools -.endif # BIND_TOOLS_SLAVE +DLZ_BDB_CONFIGURE_ON= --with-dlz-bdb=yes +DLZ_BDB_USES= bdb -SSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} -SSL_USES= ssl -SSL_CONFIGURE_OFF= --disable-openssl-version-check --without-openssl +DLZ_FILESYSTEM_CONFIGURE_ON= --with-dlz-filesystem=yes -LMDB_CONFIGURE_WITH= lmdb -LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb +DLZ_LDAP_CONFIGURE_ON= --with-dlz-ldap=yes +DLZ_LDAP_USE= openldap=yes -IDN_USES= iconv -IDN_CONFIGURE_ON= --with-idn=${LOCALBASE} ${ICONV_CONFIGURE_BASE} -IDN_LIB_DEPENDS= libidnkit.so:dns/idnkit -IDN_CONFIGURE_OFF= --without-idn +DLZ_MYSQL_CONFIGURE_ON= --with-dlz-mysql=yes +DLZ_MYSQL_PREVENTS= THREADS +DLZ_MYSQL_USES= mysql -LARGE_FILE_CONFIGURE_ENABLE= largefile +DLZ_POSTGRESQL_CONFIGURE_ON= --with-dlz-postgres=yes +DLZ_POSTGRESQL_USES= pgsql -SIGCHASE_CONFIGURE_ON= STD_CDEFINES="-DDIG_SIGCHASE=1" +DLZ_STUB_CONFIGURE_ON= --with-dlz-stub=yes -IPV6_CONFIGURE_ENABLE= ipv6 +DNSTAP_CONFIGURE_ENABLE= dnstap +DNSTAP_IMPLIES= THREADS +DNSTAP_LIB_DEPENDS= libfstrm.so:devel/fstrm \ + libprotobuf-c.so:devel/protobuf-c FILTER_AAAA_CONFIGURE_ENABLE= filter-aaaa -NATIVE_PKCS11_CONFIGURE_ENABLE= native-pkcs11 +FIXED_RRSET_CONFIGURE_ENABLE= fixed-rrset GEOIP_CONFIGURE_WITH= geoip GEOIP_LIB_DEPENDS= libGeoIP.so:net/GeoIP -JSON_LIB_DEPENDS= libjson-c.so:devel/json-c -JSON_CONFIGURE_WITH= libjson - -GOST_CONFIGURE_ON= --with-gost GOST_ASN1_CONFIGURE_ON= --with-gost=asn1 -PYTHON_CONFIGURE_WITH= python=${PYTHON_CMD} -PYTHON_USES= python -PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply -PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply +GOST_CONFIGURE_ON= --with-gost -DLZ_POSTGRESQL_CONFIGURE_ON= --with-dlz-postgres=yes -DLZ_POSTGRESQL_USES= pgsql +GSSAPI_BASE_CONFIGURE_ON= \ + --with-gssapi=${GSSAPIBASEDIR} KRB5CONFIG="${KRB5CONFIG}" +GSSAPI_BASE_USES= gssapi -FIXED_RRSET_CONFIGURE_ENABLE= fixed-rrset +GSSAPI_HEIMDAL_CONFIGURE_ON= \ + --with-gssapi=${GSSAPIBASEDIR} KRB5CONFIG="${KRB5CONFIG}" +GSSAPI_HEIMDAL_USES= gssapi:heimdal -RPZ_NSIP_CONFIGURE_ENABLE= rpz-nsip +GSSAPI_MIT_CONFIGURE_ON= \ + --with-gssapi=${GSSAPIBASEDIR} KRB5CONFIG="${KRB5CONFIG}" +GSSAPI_MIT_USES= gssapi:mit -RPZ_NSDNAME_CONFIGURE_ENABLE= rpz-nsdname +GSSAPI_NONE_CONFIGURE_ON= --without-gssapi -DLZ_MYSQL_CONFIGURE_ON= --with-dlz-mysql=yes -DLZ_MYSQL_USES= mysql +IDN_CONFIGURE_OFF= --without-idn +IDN_CONFIGURE_ON= --with-idn=${LOCALBASE} ${ICONV_CONFIGURE_BASE} +IDN_LIB_DEPENDS= libidnkit.so:dns/idnkit +IDN_USES= iconv -DLZ_BDB_CONFIGURE_ON= --with-dlz-bdb=yes -DLZ_BDB_USES= bdb +IPV6_CONFIGURE_ENABLE= ipv6 -DLZ_LDAP_CONFIGURE_ON= --with-dlz-ldap=yes -DLZ_LDAP_USE= openldap=yes +JSON_CONFIGURE_WITH= libjson +JSON_LIB_DEPENDS= libjson-c.so:devel/json-c -DLZ_FILESYSTEM_CONFIGURE_ON= --with-dlz-filesystem=yes +LARGE_FILE_CONFIGURE_ENABLE= largefile -DLZ_STUB_CONFIGURE_ON= --with-dlz-stub=yes +LMDB_CONFIGURE_WITH= lmdb +LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb -START_LATE_SUB_LIST= NAMED_REQUIRE="SERVERS cleanvar" \ - NAMED_BEFORE="LOGIN" -START_LATE_SUB_LIST_OFF=NAMED_REQUIRE="NETWORKING ldconfig syslogd" \ - NAMED_BEFORE="SERVERS" +MINCACHE_EXTRA_PATCHES= ${FILESDIR}/extrapatch-bind-min-override-ttl -GSSAPI_BASE_USES= gssapi -GSSAPI_BASE_CONFIGURE_ON= \ - --with-gssapi=${GSSAPIBASEDIR} KRB5CONFIG="${KRB5CONFIG}" -GSSAPI_HEIMDAL_USES= gssapi:heimdal -GSSAPI_HEIMDAL_CONFIGURE_ON= \ - --with-gssapi=${GSSAPIBASEDIR} KRB5CONFIG="${KRB5CONFIG}" -GSSAPI_MIT_USES= gssapi:mit -GSSAPI_MIT_CONFIGURE_ON= \ - --with-gssapi=${GSSAPIBASEDIR} KRB5CONFIG="${KRB5CONFIG}" -GSSAPI_NONE_CONFIGURE_ON= --without-gssapi +NATIVE_PKCS11_CONFIGURE_ENABLE= native-pkcs11 +NATIVE_PKCS11_IMPLIES= THREADS -MINCACHE_EXTRA_PATCHES= ${FILESDIR}/extrapatch-bind-min-override-ttl +PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply +PYTHON_CONFIGURE_WITH= python=${PYTHON_CMD} +PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply +PYTHON_USES= python QUERYTRACE_CONFIGURE_ENABLE= querytrace -DNSTAP_CONFIGURE_ENABLE= dnstap -DNSTAP_LIB_DEPENDS= libfstrm.so:devel/fstrm \ - libprotobuf-c.so:devel/protobuf-c -DNSTAP_IMPLIES= THREADS - -.include <bsd.port.options.mk> +RPZ_NSDNAME_CONFIGURE_ENABLE= rpz-nsdname -.if !${PORT_OPTIONS:MGOST} && !${PORT_OPTIONS:MGOST_ASN1} -CONFIGURE_ARGS+= --without-gost -.endif +RPZ_NSIP_CONFIGURE_ENABLE= rpz-nsip -.if ${PORT_OPTIONS:MTHREADS} && !${PORT_OPTIONS:MDLZ_MYSQL} -CONFIGURE_ARGS+= --enable-threads -.else -CONFIGURE_ARGS+= --disable-threads -.endif +SIGCHASE_CONFIGURE_ON= STD_CDEFINES="-DDIG_SIGCHASE=1" -.if !defined(BIND_TOOLS_SLAVE) -USE_RC_SUBR+= named -SUB_FILES+= named.conf -.endif # !defined(BIND_TOOLS_SLAVE) +SSL_CONFIGURE_OFF= --disable-openssl-version-check --without-openssl +SSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} +SSL_USES= ssl -MAKE_JOBS_UNSAFE= yes +START_LATE_SUB_LIST= NAMED_REQUIRE="SERVERS cleanvar" \ + NAMED_BEFORE="LOGIN" +START_LATE_SUB_LIST_OFF=NAMED_REQUIRE="NETWORKING ldconfig syslogd" \ + NAMED_BEFORE="SERVERS" -PORTDOCS= * +THREADS_CONFIGURE_ENABLE= threads .include <bsd.port.pre.mk> +.if !${PORT_OPTIONS:MGOST} && !${PORT_OPTIONS:MGOST_ASN1} +CONFIGURE_ARGS+= --without-gost +.endif + .if ( ${PORT_OPTIONS:MGOST} || ${PORT_OPTIONS:MGOST_ASN1} ) && ${SSL_DEFAULT} == base BROKEN= OpenSSL from the base system does not support GOST, add \ DEFAULT_VERSIONS+=ssl=openssl to your /etc/make.conf and rebuild everything \ @@ -246,7 +238,7 @@ post-patch: -e 's#.*INSTALL.*isc-config.*##' \ -e 's#.*INSTALL.*bind.keys.*##' \ ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e 's#^SUBDIRS.*#SUBDIRS = delv dig dnssec nsupdate \\#' \ + @${REINPLACE_CMD} -e 's#^SUBDIRS.*#SUBDIRS = delv dig dnssec tools nsupdate \\#' \ -e 's#^ .*check confgen ##' \ ${WRKSRC}/bin/Makefile.in .else @@ -260,26 +252,18 @@ post-patch: .endif .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: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}${DOCSDIR}/arm - ${INSTALL_DATA} ${WRKSRC}/doc/arm/*.html ${STAGEDIR}${DOCSDIR}/arm - ${INSTALL_DATA} ${WRKSRC}/doc/arm/Bv9ARM.pdf ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/COPYRIGHT ${WRKSRC}/FAQ \ - ${WRKSRC}/HISTORY ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} -.endif - ${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 @@ -290,9 +274,16 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/bin/rndc/rndc.conf \ ${STAGEDIR}${ETCDIR}/rndc.conf.sample +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR}/arm + ${INSTALL_DATA} ${WRKSRC}/doc/arm/*.html ${STAGEDIR}${DOCSDIR}/arm + ${INSTALL_DATA} ${WRKSRC}/doc/arm/Bv9ARM.pdf ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/FAQ \ + ${WRKSRC}/HISTORY ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} +.endif # BIND_TOOLS_SLAVE + # 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> Modified: head/dns/bind9-devel/distinfo ============================================================================== --- head/dns/bind9-devel/distinfo Thu Apr 20 12:33:57 2017 (r438944) +++ head/dns/bind9-devel/distinfo Thu Apr 20 13:12:35 2017 (r438945) @@ -1,3 +1,3 @@ -TIMESTAMP = 1492076040 -SHA256 (bind9-19643a1.tar.gz) = c9d7ff5740654e62ce97a7dd2686ac65ab482e11186c5aadc41fa5554df617fe -SIZE (bind9-19643a1.tar.gz) = 11874582 +TIMESTAMP = 1492693611 +SHA256 (bind9-706c6ac5.tar.gz) = ea2efadf91f26b97fbd4e79a6ce22dfd680440c3f76e2d8219a7208e989b087d +SIZE (bind9-706c6ac5.tar.gz) = 11874695 Modified: head/dns/bind9-devel/files/extrapatch-bind-min-override-ttl ============================================================================== --- head/dns/bind9-devel/files/extrapatch-bind-min-override-ttl Thu Apr 20 12:33:57 2017 (r438944) +++ head/dns/bind9-devel/files/extrapatch-bind-min-override-ttl Thu Apr 20 13:12:35 2017 (r438945) @@ -1,4 +1,4 @@ ---- bin/named/config.c.orig 2017-02-09 21:52:45 UTC +--- bin/named/config.c.orig 2017-04-20 07:59:45 UTC +++ bin/named/config.c @@ -158,6 +158,8 @@ options {\n\ lame-ttl 600;\n\ @@ -9,9 +9,9 @@ max-cache-ttl 604800; /* 1 week */\n\ transfer-format many-answers;\n\ max-cache-size 90%;\n\ ---- bin/named/server.c.orig 2017-02-09 21:52:45 UTC +--- bin/named/server.c.orig 2017-04-20 07:59:45 UTC +++ bin/named/server.c -@@ -3743,6 +3743,16 @@ configure_view(dns_view_t *view, dns_vie +@@ -3751,6 +3751,16 @@ configure_view(dns_view_t *view, dns_vie } obj = NULL; @@ -28,7 +28,7 @@ result = ns_config_get(maps, "max-cache-ttl", &obj); INSIST(result == ISC_R_SUCCESS); view->maxcachettl = cfg_obj_asuint32(obj); ---- lib/dns/include/dns/view.h.orig 2017-02-09 21:52:45 UTC +--- lib/dns/include/dns/view.h.orig 2017-04-20 07:59:45 UTC +++ lib/dns/include/dns/view.h @@ -146,6 +146,8 @@ struct dns_view { isc_boolean_t requestnsid; @@ -39,9 +39,9 @@ dns_ttl_t maxncachettl; isc_uint32_t nta_lifetime; isc_uint32_t nta_recheck; ---- lib/dns/resolver.c.orig 2017-02-09 21:52:45 UTC +--- lib/dns/resolver.c.orig 2017-04-20 07:59:45 UTC +++ lib/dns/resolver.c -@@ -5467,6 +5467,18 @@ cache_name(fetchctx_t *fctx, dns_name_t +@@ -5468,6 +5468,18 @@ cache_name(fetchctx_t *fctx, dns_name_t } /* @@ -60,9 +60,9 @@ * Enforce the configure maximum cache TTL. */ if (rdataset->ttl > res->view->maxcachettl) ---- lib/isccfg/namedconf.c.orig 2017-02-09 21:52:45 UTC +--- lib/isccfg/namedconf.c.orig 2017-04-20 07:59:45 UTC +++ lib/isccfg/namedconf.c -@@ -1864,6 +1864,8 @@ view_clauses[] = { +@@ -1882,6 +1882,8 @@ view_clauses[] = { { "nosit-udp-size", &cfg_type_uint32, CFG_CLAUSEFLAG_OBSOLETE }, { "max-acache-size", &cfg_type_sizenodefault, 0 }, { "max-cache-size", &cfg_type_sizeorpercent, 0 }, Modified: head/dns/bind9-devel/files/named.conf.in ============================================================================== --- head/dns/bind9-devel/files/named.conf.in Thu Apr 20 12:33:57 2017 (r438944) +++ head/dns/bind9-devel/files/named.conf.in Thu Apr 20 13:12:35 2017 (r438945) @@ -93,7 +93,7 @@ zone "." { type hint; file "%%ETCDIR%%/n the hint zone above. As documented at http://dns.icann.org/services/axfr/ these zones: - "." (the root), ARPA, IN-ADDR.ARPA, IP6.ARPA, and ROOT-SERVERS.NET + "." (the root), ARPA, IN-ADDR.ARPA, IP6.ARPA, and a few others are available for AXFR from these servers on IPv4 and IPv6: xfr.lax.dns.icann.org, xfr.cjr.dns.icann.org */ @@ -102,7 +102,10 @@ zone "." { type slave; file "%%ETCDIR%%/slave/root.slave"; masters { - 192.5.5.241; // F.ROOT-SERVERS.NET. + 192.0.32.132; // lax.xfr.dns.icann.org + 2620:0:2d0:202::132; // lax.xfr.dns.icann.org + 192.0.47.132; // iad.xfr.dns.icann.org + 2620:0:2830:202::132; // iad.xfr.dns.icann.org }; notify no; }; @@ -110,10 +113,35 @@ zone "arpa" { type slave; file "%%ETCDIR%%/slave/arpa.slave"; masters { - 192.5.5.241; // F.ROOT-SERVERS.NET. + 192.0.32.132; // lax.xfr.dns.icann.org + 2620:0:2d0:202::132; // lax.xfr.dns.icann.org + 192.0.47.132; // iad.xfr.dns.icann.org + 2620:0:2830:202::132; // iad.xfr.dns.icann.org }; notify no; }; +zone "in-addr.arpa" { + type slave; + file "%%ETCDIR%%/slave/in-addr.arpa.slave"; + masters { + 192.0.32.132; // lax.xfr.dns.icann.org + 2620:0:2d0:202::132; // lax.xfr.dns.icann.org + 192.0.47.132; // iad.xfr.dns.icann.org + 2620:0:2830:202::132; // iad.xfr.dns.icann.org + }; + notify no; +} +zone "ip6.arpa" { + type slave; + file "%%ETCDIR%%/slave/ip6.arpa.slave"; + masters { + 192.0.32.132; // lax.xfr.dns.icann.org + 2620:0:2d0:202::132; // lax.xfr.dns.icann.org + 192.0.47.132; // iad.xfr.dns.icann.org + 2620:0:2830:202::132; // iad.xfr.dns.icann.org + }; + notify no; +} */ /* Serving the following zones locally will prevent any queries Modified: head/dns/bind9-devel/files/named.root ============================================================================== --- head/dns/bind9-devel/files/named.root Thu Apr 20 12:33:57 2017 (r438944) +++ head/dns/bind9-devel/files/named.root Thu Apr 20 13:12:35 2017 (r438945) @@ -13,8 +13,8 @@ ; on server FTP.INTERNIC.NET ; -OR- RS.INTERNIC.NET ; -; last update: March 23, 2016 -; related version of root zone: 2016032301 +; last update: April 11, 2017 +; related version of root zone: 2017041101 ; ; formerly NS.INTERNIC.NET ; @@ -44,6 +44,7 @@ D.ROOT-SERVERS.NET. 3600000 AA ; . 3600000 NS E.ROOT-SERVERS.NET. E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10 +E.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:a8::e ; ; FORMERLY NS.ISC.ORG ; @@ -55,6 +56,7 @@ F.ROOT-SERVERS.NET. 3600000 AA ; . 3600000 NS G.ROOT-SERVERS.NET. G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4 +G.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:12::d0d ; ; FORMERLY AOS.ARL.ARMY.MIL ; Modified: head/dns/bind910/Makefile ============================================================================== --- head/dns/bind910/Makefile Thu Apr 20 12:33:57 2017 (r438944) +++ head/dns/bind910/Makefile Thu Apr 20 13:12:35 2017 (r438945) @@ -3,7 +3,7 @@ PORTNAME= bind PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/} -PORTREVISION= 1 +PORTREVISION= 0 CATEGORIES= dns net ipv6 MASTER_SITES= ISC/bind9/${ISCVERSION} PKGNAMESUFFIX= 910 @@ -13,9 +13,10 @@ MAINTAINER= mat@FreeBSD.org COMMENT= BIND DNS suite with updated DNSSEC and DNS64 LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/COPYRIGHT # ISC releases things like 9.8.0-P1, which our versioning doesn't like -ISCVERSION= 9.10.4-P8 +ISCVERSION= 9.10.5 USES= cpe libedit @@ -28,7 +29,7 @@ CPE_UPDATE= ${ISCVERSION:C/.*-//:tl} LIB_DEPENDS= libxml2.so:textproc/libxml2 GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --localstatedir=/var --disable-linux-caps \ +CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps \ --disable-symtable \ --with-randomdev=/dev/random \ --with-libxml2=${LOCALBASE} \ @@ -37,9 +38,14 @@ CONFIGURE_ARGS+= --localstatedir=/var -- --sysconfdir=${ETCDIR} ETCDIR= ${PREFIX}/etc/namedb -CONFLICTS+= bind-tools bind99 bind911 bind9-devel +CONFLICTS= bind-tools bind99 bind911 bind9-devel SUB_FILES= pkg-message named.conf +USE_RC_SUBR= named + +MAKE_JOBS_UNSAFE= yes + +PORTDOCS= * OPTIONS_DEFAULT= SSL THREADS SIGCHASE IDN GSSAPI_NONE JSON \ DLZ_FILESYSTEM RPZ_NSIP RPZ_NSDNAME @@ -48,6 +54,7 @@ OPTIONS_DEFINE= IDN LARGE_FILE PYTHON J RPZ_NSIP RPZ_NSDNAME DOCS GEOIP \ MINCACHE PORTREVISION FETCHLIMIT QUERYTRACE \ START_LATE + OPTIONS_RADIO= CRYPTO GOSTDEF OPTIONS_RADIO_CRYPTO= SSL NATIVE_PKCS11 OPTIONS_RADIO_GOSTDEF= GOST GOST_ASN1 @@ -60,130 +67,126 @@ OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAP OPTIONS_SUB= yes -SSL_DESC= Build with OpenSSL (Required for DNSSEC) -LARGE_FILE_DESC= 64-bit file support -FIXED_RRSET_DESC= Enable fixed rrset ordering -SIGCHASE_DESC= dig/host/nslookup will do DNSSEC validation -FILTER_AAAA_DESC= Enable filtering of AAAA records CRYPTO_DESC= Choose which crypto engine to use -NATIVE_PKCS11_DESC= Use PKCS\#11 native API (**READ HELP**) -GEOIP_DESC= Allow geographically based ACL. -GOSTDEF_DESC= Enable GOST ciphers, needs SSL (see help on 8 and 9) -GOST_DESC= GOST raw keys (new default) -GOST_ASN1_DESC= GOST using ASN.1 -PYTHON_DESC= Build with Python utilities -START_LATE_DESC= Start BIND late in the boot process -MINCACHE_DESC= Use the mincachettl patch -PORTREVISION_DESC= Show PORTREVISION in the version string -FETCHLIMIT_DESC= Enable the query quotas for resolvers -QUERYTRACE_DESC= Enable the very verbose query tracelogging - -RPZ_NSIP_DESC= Enable RPZ NSIP trigger rules -RPZ_NSDNAME_DESC= Enable RPZ NSDNAME policy records -DLZ_DESC= Dynamically Loadable Zones -DLZ_POSTGRESQL_DESC= DLZ Postgres driver -DLZ_MYSQL_DESC= DLZ MySQL driver (no threading) DLZ_BDB_DESC= DLZ BDB driver -DLZ_LDAP_DESC= DLZ LDAP driver +DLZ_DESC= Dynamically Loadable Zones DLZ_FILESYSTEM_DESC= DLZ filesystem driver +DLZ_LDAP_DESC= DLZ LDAP driver +DLZ_MYSQL_DESC= DLZ MySQL driver (no threading) +DLZ_POSTGRESQL_DESC= DLZ Postgres driver DLZ_STUB_DESC= DLZ stub driver +FETCHLIMIT_DESC= Enable the query quotas for resolvers +FILTER_AAAA_DESC= Enable filtering of AAAA records +FIXED_RRSET_DESC= Enable fixed rrset ordering +GEOIP_DESC= Allow geographically based ACL. +GOSTDEF_DESC= Enable GOST ciphers, needs SSL +GOST_ASN1_DESC= GOST using ASN.1 +GOST_DESC= GOST raw keys (new default) GSSAPI_BASE_DESC= Using Heimdal in base GSSAPI_HEIMDAL_DESC= Using security/heimdal GSSAPI_MIT_DESC= Using security/krb5 GSSAPI_NONE_DESC= Disable -MINCACHE_EXTRA_PATCHES= ${FILESDIR}/extrapatch-bind-min-override-ttl -FETCHLIMIT_CONFIGURE_ENABLE= fetchlimit -QUERYTRACE_CONFIGURE_ENABLE= querytrace +LARGE_FILE_DESC= 64-bit file support +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 +SIGCHASE_DESC= dig/host/nslookup will do DNSSEC validation +SSL_DESC= Build with OpenSSL (Required for DNSSEC) +START_LATE_DESC= Start BIND late in the boot process (see help) -SSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} -SSL_USES= ssl -SSL_CONFIGURE_OFF= --disable-openssl-version-check --without-openssl +DLZ_BDB_CONFIGURE_ON= --with-dlz-bdb=yes +DLZ_BDB_USES= bdb -IDN_USES= iconv -IDN_CONFIGURE_ON= --with-idn=${LOCALBASE} ${ICONV_CONFIGURE_BASE} -IDN_LIB_DEPENDS= libidnkit.so:dns/idnkit -IDN_CONFIGURE_OFF= --without-idn +DLZ_FILESYSTEM_CONFIGURE_ON= --with-dlz-filesystem=yes -LARGE_FILE_CONFIGURE_ENABLE= largefile +DLZ_LDAP_CONFIGURE_ON= --with-dlz-ldap=yes +DLZ_LDAP_USE= openldap=yes -SIGCHASE_CONFIGURE_ON= STD_CDEFINES="-DDIG_SIGCHASE=1" +DLZ_MYSQL_CONFIGURE_ON= --with-dlz-mysql=yes +DLZ_MYSQL_PREVENTS= THREADS +DLZ_MYSQL_USES= mysql -IPV6_CONFIGURE_ENABLE= ipv6 +DLZ_POSTGRESQL_CONFIGURE_ON= --with-dlz-postgres=yes +DLZ_POSTGRESQL_USES= pgsql + +DLZ_STUB_CONFIGURE_ON= --with-dlz-stub=yes + +FETCHLIMIT_CONFIGURE_ENABLE= fetchlimit FILTER_AAAA_CONFIGURE_ENABLE= filter-aaaa -NATIVE_PKCS11_CONFIGURE_ENABLE= native-pkcs11 +FIXED_RRSET_CONFIGURE_ENABLE= fixed-rrset GEOIP_CONFIGURE_WITH= geoip GEOIP_LIB_DEPENDS= libGeoIP.so:net/GeoIP -JSON_LIB_DEPENDS= libjson-c.so:devel/json-c -JSON_CONFIGURE_WITH= libjson +GOST_ASN1_CONFIGURE_ON= --with-gost=asn1 GOST_CONFIGURE_ON= --with-gost -GOST_ASN1_CONFIGURE_ON= --with-gost=asn1 -PYTHON_CONFIGURE_WITH= python -PYTHON_USES= python +GSSAPI_BASE_CONFIGURE_ON= \ + --with-gssapi=${GSSAPIBASEDIR} KRB5CONFIG="${KRB5CONFIG}" +GSSAPI_BASE_USES= gssapi -DLZ_POSTGRESQL_CONFIGURE_ON= --with-dlz-postgres=yes -DLZ_POSTGRESQL_USES= pgsql +GSSAPI_HEIMDAL_CONFIGURE_ON= \ + --with-gssapi=${GSSAPIBASEDIR} KRB5CONFIG="${KRB5CONFIG}" +GSSAPI_HEIMDAL_USES= gssapi:heimdal -FIXED_RRSET_CONFIGURE_ENABLE= fixed-rrset +GSSAPI_MIT_CONFIGURE_ON= \ + --with-gssapi=${GSSAPIBASEDIR} KRB5CONFIG="${KRB5CONFIG}" +GSSAPI_MIT_USES= gssapi:mit -RPZ_NSIP_CONFIGURE_ENABLE= rpz-nsip +GSSAPI_NONE_CONFIGURE_ON= --without-gssapi -RPZ_NSDNAME_CONFIGURE_ENABLE= rpz-nsdname +IDN_CONFIGURE_OFF= --without-idn +IDN_CONFIGURE_ON= --with-idn=${LOCALBASE} ${ICONV_CONFIGURE_BASE} +IDN_LIB_DEPENDS= libidnkit.so:dns/idnkit +IDN_USES= iconv -DLZ_MYSQL_CONFIGURE_ON= --with-dlz-mysql=yes -DLZ_MYSQL_USES= mysql +IPV6_CONFIGURE_ENABLE= ipv6 -DLZ_BDB_CONFIGURE_ON= --with-dlz-bdb=yes -DLZ_BDB_USES= bdb +JSON_CONFIGURE_WITH= libjson +JSON_LIB_DEPENDS= libjson-c.so:devel/json-c -DLZ_LDAP_CONFIGURE_ON= --with-dlz-ldap=yes -DLZ_LDAP_USE= openldap=yes +LARGE_FILE_CONFIGURE_ENABLE= largefile -DLZ_FILESYSTEM_CONFIGURE_ON= --with-dlz-filesystem=yes +MINCACHE_EXTRA_PATCHES= ${FILESDIR}/extrapatch-bind-min-override-ttl -DLZ_STUB_CONFIGURE_ON= --with-dlz-stub=yes +NATIVE_PKCS11_CONFIGURE_ENABLE= native-pkcs11 +NATIVE_PKCS11_IMPLIES= THREADS + +PYTHON_CONFIGURE_WITH= python=${PYTHON_CMD} +PYTHON_USES= python + +QUERYTRACE_CONFIGURE_ENABLE= querytrace + +RPZ_NSDNAME_CONFIGURE_ENABLE= rpz-nsdname + +RPZ_NSIP_CONFIGURE_ENABLE= rpz-nsip + +SIGCHASE_CONFIGURE_ON= STD_CDEFINES="-DDIG_SIGCHASE=1" + +SSL_CONFIGURE_OFF= --disable-openssl-version-check --without-openssl +SSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} +SSL_USES= ssl START_LATE_SUB_LIST= NAMED_REQUIRE="SERVERS cleanvar" \ NAMED_BEFORE="LOGIN" START_LATE_SUB_LIST_OFF=NAMED_REQUIRE="NETWORKING ldconfig syslogd" \ NAMED_BEFORE="SERVERS" -GSSAPI_BASE_USES= gssapi -GSSAPI_BASE_CONFIGURE_ON= \ - --with-gssapi=${GSSAPIBASEDIR} KRB5CONFIG="${KRB5CONFIG}" -GSSAPI_HEIMDAL_USES= gssapi:heimdal -GSSAPI_HEIMDAL_CONFIGURE_ON= \ - --with-gssapi=${GSSAPIBASEDIR} KRB5CONFIG="${KRB5CONFIG}" -GSSAPI_MIT_USES= gssapi:mit -GSSAPI_MIT_CONFIGURE_ON= \ - --with-gssapi=${GSSAPIBASEDIR} KRB5CONFIG="${KRB5CONFIG}" -GSSAPI_NONE_CONFIGURE_ON= --without-gssapi +THREADS_CONFIGURE_ENABLE= threads -.include <bsd.port.options.mk> +.include <bsd.port.pre.mk> .if !${PORT_OPTIONS:MGOST} && !${PORT_OPTIONS:MGOST_ASN1} CONFIGURE_ARGS+= --without-gost .endif -.if ${PORT_OPTIONS:MTHREADS} && !${PORT_OPTIONS:MDLZ_MYSQL} -CONFIGURE_ARGS+= --enable-threads -.else -CONFIGURE_ARGS+= --disable-threads -.endif - -USE_RC_SUBR= named - -MAKE_JOBS_UNSAFE= yes - -PORTDOCS= * - -.include <bsd.port.pre.mk> - .if ( ${PORT_OPTIONS:MGOST} || ${PORT_OPTIONS:MGOST_ASN1} ) && ${SSL_DEFAULT} == base BROKEN= OpenSSL from the base system does not support GOST, add \ DEFAULT_VERSIONS+=ssl=openssl to your /etc/make.conf and rebuild everything \ @@ -191,9 +194,6 @@ BROKEN= OpenSSL from the base system doe .endif post-patch: - @${REINPLACE_CMD} -e 's|readline/readline.h|editline/readline.h|; \ - s|readline/history.h|histedit.h|' \ - ${WRKSRC}/bin/dig/nslookup.c ${WRKSRC}/bin/nsupdate/nsupdate.c .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' \ @@ -209,15 +209,6 @@ post-patch-PORTREVISION-on: .endif post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}${DOCSDIR}/arm - ${INSTALL_DATA} ${WRKSRC}/doc/arm/*.html ${STAGEDIR}${DOCSDIR}/arm - ${INSTALL_DATA} ${WRKSRC}/doc/arm/Bv9ARM.pdf ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/COPYRIGHT ${WRKSRC}/FAQ \ - ${WRKSRC}/HISTORY ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} -.endif - -.if ${OPSYS} == DragonFly || (${OPSYS} == FreeBSD && ${OSVERSION} >= 1000100) ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mtree ${MKDIR} ${STAGEDIR}${ETCDIR} .for i in dynamic master slave working @@ -230,8 +221,18 @@ post-install: ${INSTALL_DATA} ${FILESDIR}/localhost-reverse.db ${STAGEDIR}${ETCDIR}/master ${INSTALL_DATA} ${FILESDIR}/BIND.chroot.dist ${STAGEDIR}${PREFIX}/etc/mtree ${INSTALL_DATA} ${FILESDIR}/BIND.chroot.local.dist ${STAGEDIR}${PREFIX}/etc/mtree -.endif ${INSTALL_DATA} ${WRKSRC}/bin/rndc/rndc.conf \ ${STAGEDIR}${ETCDIR}/rndc.conf.sample +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR}/arm + ${INSTALL_DATA} ${WRKSRC}/doc/arm/*.html ${STAGEDIR}${DOCSDIR}/arm + ${INSTALL_DATA} ${WRKSRC}/doc/arm/Bv9ARM.pdf ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/FAQ \ + ${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> Modified: head/dns/bind910/distinfo ============================================================================== --- head/dns/bind910/distinfo Thu Apr 20 12:33:57 2017 (r438944) +++ head/dns/bind910/distinfo Thu Apr 20 13:12:35 2017 (r438945) @@ -1,3 +1,3 @@ -TIMESTAMP = 1492054917 -SHA256 (bind-9.10.4-P8.tar.gz) = 7dd356ab466ead8124d645f83719e620686998c81ce1d4eb0c52daffca7566eb -SIZE (bind-9.10.4-P8.tar.gz) = 9323291 +TIMESTAMP = 1492690349 +SHA256 (bind-9.10.5.tar.gz) = 71688d2e134e42205075eef93cc1b78b42a140a2d61bf8263afc9c92fc872b0e +SIZE (bind-9.10.5.tar.gz) = 9431916 Modified: head/dns/bind910/files/extrapatch-bind-min-override-ttl ============================================================================== --- head/dns/bind910/files/extrapatch-bind-min-override-ttl Thu Apr 20 12:33:57 2017 (r438944) +++ head/dns/bind910/files/extrapatch-bind-min-override-ttl Thu Apr 20 13:12:35 2017 (r438945) @@ -1,6 +1,6 @@ ---- bin/named/config.c.orig 2016-10-21 05:10:54 UTC +--- bin/named/config.c.orig 2017-04-14 03:54:11 UTC +++ bin/named/config.c -@@ -151,6 +151,8 @@ options {\n\ +@@ -154,6 +154,8 @@ options {\n\ min-roots 2;\n\ lame-ttl 600;\n\ max-ncache-ttl 10800; /* 3 hours */\n\ @@ -9,9 +9,9 @@ max-cache-ttl 604800; /* 1 week */\n\ transfer-format many-answers;\n\ max-cache-size 0;\n\ ---- bin/named/server.c.orig 2016-10-21 05:10:54 UTC +--- bin/named/server.c.orig 2017-04-14 03:54:11 UTC +++ bin/named/server.c -@@ -2802,6 +2802,16 @@ configure_view(dns_view_t *view, dns_vie +@@ -2890,6 +2890,16 @@ configure_view(dns_view_t *view, dns_vie } obj = NULL; @@ -28,9 +28,9 @@ result = ns_config_get(maps, "max-cache-ttl", &obj); INSIST(result == ISC_R_SUCCESS); view->maxcachettl = cfg_obj_asuint32(obj); ---- lib/dns/include/dns/view.h.orig 2016-10-21 05:10:54 UTC +--- lib/dns/include/dns/view.h.orig 2017-04-14 03:54:11 UTC +++ lib/dns/include/dns/view.h -@@ -150,6 +150,8 @@ struct dns_view { +@@ -151,6 +151,8 @@ struct dns_view { isc_boolean_t requestnsid; isc_boolean_t requestsit; dns_ttl_t maxcachettl; @@ -39,9 +39,9 @@ dns_ttl_t maxncachettl; dns_ttl_t prefetch_trigger; dns_ttl_t prefetch_eligible; ---- lib/dns/resolver.c.orig 2016-10-21 05:10:54 UTC +--- lib/dns/resolver.c.orig 2017-04-14 03:54:11 UTC +++ lib/dns/resolver.c -@@ -5373,6 +5373,18 @@ cache_name(fetchctx_t *fctx, dns_name_t +@@ -5378,6 +5378,18 @@ cache_name(fetchctx_t *fctx, dns_name_t } /* @@ -60,9 +60,9 @@ * Enforce the configure maximum cache TTL. */ if (rdataset->ttl > res->view->maxcachettl) ---- lib/isccfg/namedconf.c.orig 2016-10-21 05:10:54 UTC +--- lib/isccfg/namedconf.c.orig 2017-04-14 03:54:11 UTC +++ lib/isccfg/namedconf.c -@@ -1572,6 +1572,8 @@ view_clauses[] = { +@@ -1591,6 +1591,8 @@ view_clauses[] = { #endif { "max-acache-size", &cfg_type_sizenodefault, 0 }, { "max-cache-size", &cfg_type_sizenodefault, 0 }, Modified: head/dns/bind910/files/named.conf.in ============================================================================== --- head/dns/bind910/files/named.conf.in Thu Apr 20 12:33:57 2017 (r438944) +++ head/dns/bind910/files/named.conf.in Thu Apr 20 13:12:35 2017 (r438945) @@ -93,7 +93,7 @@ zone "." { type hint; file "%%ETCDIR%%/n the hint zone above. As documented at http://dns.icann.org/services/axfr/ these zones: - "." (the root), ARPA, IN-ADDR.ARPA, IP6.ARPA, and ROOT-SERVERS.NET + "." (the root), ARPA, IN-ADDR.ARPA, IP6.ARPA, and a few others are available for AXFR from these servers on IPv4 and IPv6: xfr.lax.dns.icann.org, xfr.cjr.dns.icann.org */ @@ -102,7 +102,10 @@ zone "." { type slave; file "%%ETCDIR%%/slave/root.slave"; masters { - 192.5.5.241; // F.ROOT-SERVERS.NET. + 192.0.32.132; // lax.xfr.dns.icann.org + 2620:0:2d0:202::132; // lax.xfr.dns.icann.org + 192.0.47.132; // iad.xfr.dns.icann.org + 2620:0:2830:202::132; // iad.xfr.dns.icann.org }; notify no; }; @@ -110,10 +113,35 @@ zone "arpa" { type slave; file "%%ETCDIR%%/slave/arpa.slave"; masters { - 192.5.5.241; // F.ROOT-SERVERS.NET. + 192.0.32.132; // lax.xfr.dns.icann.org + 2620:0:2d0:202::132; // lax.xfr.dns.icann.org + 192.0.47.132; // iad.xfr.dns.icann.org + 2620:0:2830:202::132; // iad.xfr.dns.icann.org }; notify no; }; +zone "in-addr.arpa" { + type slave; + file "%%ETCDIR%%/slave/in-addr.arpa.slave"; + masters { + 192.0.32.132; // lax.xfr.dns.icann.org + 2620:0:2d0:202::132; // lax.xfr.dns.icann.org + 192.0.47.132; // iad.xfr.dns.icann.org + 2620:0:2830:202::132; // iad.xfr.dns.icann.org + }; + notify no; +} +zone "ip6.arpa" { + type slave; + file "%%ETCDIR%%/slave/ip6.arpa.slave"; + masters { + 192.0.32.132; // lax.xfr.dns.icann.org + 2620:0:2d0:202::132; // lax.xfr.dns.icann.org + 192.0.47.132; // iad.xfr.dns.icann.org + 2620:0:2830:202::132; // iad.xfr.dns.icann.org + }; + notify no; +} */ /* Serving the following zones locally will prevent any queries Modified: head/dns/bind910/files/named.root ============================================================================== --- head/dns/bind910/files/named.root Thu Apr 20 12:33:57 2017 (r438944) +++ head/dns/bind910/files/named.root Thu Apr 20 13:12:35 2017 (r438945) @@ -13,8 +13,8 @@ ; on server FTP.INTERNIC.NET ; -OR- RS.INTERNIC.NET ; -; last update: March 23, 2016 -; related version of root zone: 2016032301 +; last update: April 11, 2017 +; related version of root zone: 2017041101 ; ; formerly NS.INTERNIC.NET ; @@ -44,6 +44,7 @@ D.ROOT-SERVERS.NET. 3600000 AA ; . 3600000 NS E.ROOT-SERVERS.NET. E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10 +E.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:a8::e ; ; FORMERLY NS.ISC.ORG ; @@ -55,6 +56,7 @@ F.ROOT-SERVERS.NET. 3600000 AA ; . 3600000 NS G.ROOT-SERVERS.NET. G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4 +G.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:12::d0d ; ; FORMERLY AOS.ARL.ARMY.MIL ; Modified: head/dns/bind910/files/patch-bin_tests_system_dlzexternal_Makefile.in ============================================================================== --- head/dns/bind910/files/patch-bin_tests_system_dlzexternal_Makefile.in Thu Apr 20 12:33:57 2017 (r438944) +++ head/dns/bind910/files/patch-bin_tests_system_dlzexternal_Makefile.in Thu Apr 20 13:12:35 2017 (r438945) @@ -1,11 +1,11 @@ ---- bin/tests/system/dlzexternal/Makefile.in.orig 2016-04-20 20:11:20 UTC +--- bin/tests/system/dlzexternal/Makefile.in.orig 2017-04-14 03:54:11 UTC +++ bin/tests/system/dlzexternal/Makefile.in -@@ -43,7 +43,7 @@ OBJS = ${DLOPENOBJS} +@@ -39,7 +39,7 @@ OBJS = @BIND9_MAKE_RULES@ CFLAGS = @CFLAGS@ @SO_CFLAGS@ -SO_LDFLAGS = @LDFLAGS@ @SO_LDFLAGS@ +SO_LDFLAGS = @SO_LDFLAGS@ *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704201312.v3KDCa93099675>