aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-08-31 19:58:51 +0800
committermat <mat@FreeBSD.org>2016-08-31 19:58:51 +0800
commitd593efb08e0e55e4164710be13a281a2c5d03b2f (patch)
tree0cf956ab0900de772e951c46779173e1d37d05c9 /dns
parentfb9ed13b6ecc93eb6cb7c940528e59520196df93 (diff)
downloadfreebsd-ports-gnome-d593efb08e0e55e4164710be13a281a2c5d03b2f.tar.gz
freebsd-ports-gnome-d593efb08e0e55e4164710be13a281a2c5d03b2f.tar.zst
freebsd-ports-gnome-d593efb08e0e55e4164710be13a281a2c5d03b2f.zip
Update to 9.11.0rc1.
While there, remove obsolete configure options, and set as default the one that default to yes. Changes: https://lists.isc.org/pipermail/bind-announce/2016-August/001002.html Sponsored by: Absolight
Diffstat (limited to 'dns')
-rw-r--r--dns/bind911/Makefile29
-rw-r--r--dns/bind911/distinfo6
-rw-r--r--dns/bind911/files/extrapatch-bind-min-override-ttl16
-rw-r--r--dns/bind911/files/patch-configure4
-rw-r--r--dns/bind911/pkg-plist5
5 files changed, 32 insertions, 28 deletions
diff --git a/dns/bind911/Makefile b/dns/bind911/Makefile
index f78d7c57c4f2..236fbefa338c 100644
--- a/dns/bind911/Makefile
+++ b/dns/bind911/Makefile
@@ -2,7 +2,7 @@
# pkg-help formatted with fmt 59 63
PORTNAME= bind
-PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/}
+PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/}
.if defined(BIND_TOOLS_SLAVE)
# dns/bind-tools here
PORTREVISION= 0
@@ -29,7 +29,7 @@ COMMENT= BIND DNS suite with updated DNSSEC and DNS64
LICENSE= MPL
# ISC releases things like 9.8.0-P1, which our versioning doesn't like
-ISCVERSION= 9.11.0b3
+ISCVERSION= 9.11.0rc1
MAKE_JOBS_UNSAFE= yes
@@ -70,9 +70,9 @@ OPTIONS_RADIO_CRYPTO= SSL NATIVE_PKCS11
OPTIONS_RADIO_GOSTDEF= GOST GOST_ASN1
.if !defined(BIND_TOOLS_SLAVE)
-OPTIONS_DEFAULT+= RRL DLZ_FILESYSTEM
-OPTIONS_DEFINE+= LINKS RPZ_NSIP RPZ_NSDNAME RRL DOCS NEWSTATS GEOIP \
- MINCACHE PORTREVISION FETCHLIMIT QUERYTRACE LMDB
+OPTIONS_DEFAULT+= DLZ_FILESYSTEM LMDB RPZ_NSDNAME RPZ_NSIP
+OPTIONS_DEFINE+= LINKS RPZ_NSIP RPZ_NSDNAME DOCS GEOIP \
+ MINCACHE PORTREVISION QUERYTRACE LMDB DNSTAP
OPTIONS_GROUP= DLZ
OPTIONS_GROUP_DLZ= DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \
DLZ_LDAP DLZ_FILESYSTEM DLZ_STUB
@@ -97,15 +97,13 @@ 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
LMDB_DESC= Use LMDB for zone management
+DNSTAP_DESC= Provides fast passive logging of DNS messages
LINKS_DESC= Create conf file symlinks in ${PREFIX}
-NEWSTATS_DESC= Enable alternate xml statistics channel format
RPZ_NSIP_DESC= Enable RPZ NSIP trigger rules
RPZ_NSDNAME_DESC= Enable RPZ NSDNAME policy records
-RRL_DESC= Response Rate Limiting
DLZ_DESC= Dynamically Loadable Zones
DLZ_POSTGRESQL_DESC= DLZ Postgres driver
DLZ_MYSQL_DESC= DLZ MySQL driver (no threading)
@@ -117,9 +115,6 @@ 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
.if defined(BIND_TOOLS_SLAVE)
CONFLICTS+= bind910-9.10.*
@@ -134,8 +129,6 @@ SSL_CONFIGURE_OFF= --disable-openssl-version-check --without-openssl
LMDB_CONFIGURE_WITH= lmdb
LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb
-NEWSTATS_CONFIGURE_ENABLE= newstats
-
IDN_USES= iconv
IDN_CONFIGURE_ON= --with-idn=${LOCALBASE} ${ICONV_CONFIGURE_BASE}
IDN_LIB_DEPENDS= libidnkit.so:dns/idnkit
@@ -171,8 +164,6 @@ RPZ_NSIP_CONFIGURE_ENABLE= rpz-nsip
RPZ_NSDNAME_CONFIGURE_ENABLE= rpz-nsdname
-RRL_CONFIGURE_ENABLE= rrl
-
DLZ_MYSQL_CONFIGURE_ON= --with-dlz-mysql=yes
DLZ_MYSQL_USES= mysql
@@ -202,6 +193,14 @@ GSSAPI_MIT_CONFIGURE_ON= \
--with-gssapi=${GSSAPIBASEDIR} KRB5CONFIG="${KRB5CONFIG}"
GSSAPI_NONE_CONFIGURE_ON= --without-gssapi
+MINCACHE_EXTRA_PATCHES= ${FILESDIR}/extrapatch-bind-min-override-ttl
+
+QUERYTRACE_CONFIGURE_ENABLE= querytrace
+
+DNSTAP_CONFIGURE_ENABLE= dnstap
+DNSTAP_LIB_DEPENDS= libfstrm.so:devel/fstrm \
+ libprotobuf-c.so:devel/protobuf-c
+
.include <bsd.port.options.mk>
.if !${PORT_OPTIONS:MGOST} && !${PORT_OPTIONS:MGOST_ASN1}
diff --git a/dns/bind911/distinfo b/dns/bind911/distinfo
index d18fed57f6fb..593bc60f23e7 100644
--- a/dns/bind911/distinfo
+++ b/dns/bind911/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1470224272
-SHA256 (bind-9.11.0b3.tar.gz) = 7c1d0d3465755c0cfb990c9bfff33f33c7cef9a16e320e7e3a5eb7c506d9e993
-SIZE (bind-9.11.0b3.tar.gz) = 9735747
+TIMESTAMP = 1472643318
+SHA256 (bind-9.11.0rc1.tar.gz) = 047ed20de3bed0ca40d68b2ca7fedff9d46f82097d5ac474ef1456b27da3002d
+SIZE (bind-9.11.0rc1.tar.gz) = 9788210
diff --git a/dns/bind911/files/extrapatch-bind-min-override-ttl b/dns/bind911/files/extrapatch-bind-min-override-ttl
index 5ace6372efac..4b0a8c96fc61 100644
--- a/dns/bind911/files/extrapatch-bind-min-override-ttl
+++ b/dns/bind911/files/extrapatch-bind-min-override-ttl
@@ -1,6 +1,6 @@
---- bin/named/config.c.orig 2016-07-28 12:26:36 UTC
+--- bin/named/config.c.orig 2016-08-30 11:01:49 UTC
+++ bin/named/config.c
-@@ -152,6 +152,8 @@ options {\n\
+@@ -154,6 +154,8 @@ options {\n\
lame-ttl 600;\n\
servfail-ttl 1;\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 90%;\n\
---- bin/named/server.c.orig 2016-07-28 12:26:36 UTC
+--- bin/named/server.c.orig 2016-08-30 11:01:49 UTC
+++ bin/named/server.c
-@@ -3567,6 +3567,16 @@ configure_view(dns_view_t *view, dns_vie
+@@ -3637,6 +3637,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 2016-07-28 12:26:36 UTC
+--- lib/dns/include/dns/view.h.orig 2016-08-30 11:01:49 UTC
+++ lib/dns/include/dns/view.h
@@ -146,6 +146,8 @@ struct dns_view {
isc_boolean_t requestnsid;
@@ -39,7 +39,7 @@
dns_ttl_t maxncachettl;
isc_uint32_t nta_lifetime;
isc_uint32_t nta_recheck;
---- lib/dns/resolver.c.orig 2016-07-28 12:26:36 UTC
+--- lib/dns/resolver.c.orig 2016-08-30 11:01:49 UTC
+++ lib/dns/resolver.c
@@ -5431,6 +5431,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-07-28 12:26:36 UTC
+--- lib/isccfg/namedconf.c.orig 2016-08-30 11:01:49 UTC
+++ lib/isccfg/namedconf.c
-@@ -1707,6 +1707,8 @@ view_clauses[] = {
+@@ -1735,6 +1735,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 },
diff --git a/dns/bind911/files/patch-configure b/dns/bind911/files/patch-configure
index acbca13679c7..9b672e65e7b1 100644
--- a/dns/bind911/files/patch-configure
+++ b/dns/bind911/files/patch-configure
@@ -1,4 +1,4 @@
---- configure.orig 2016-07-28 12:26:36 UTC
+--- configure.orig 2016-08-30 11:01:49 UTC
+++ configure
@@ -14341,27 +14341,9 @@ done
# problems start to show up.
@@ -79,7 +79,7 @@
DNS_GSSAPI_LIBS="$LIBS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: using GSSAPI from $use_gssapi/lib and $use_gssapi/include" >&5
-@@ -22448,7 +22390,7 @@ $as_echo "" >&6; }
+@@ -22563,7 +22505,7 @@ $as_echo "" >&6; }
# Check other locations for includes.
# Order is important (sigh).
diff --git a/dns/bind911/pkg-plist b/dns/bind911/pkg-plist
index 5a0dfcccabb2..8d76c2a73e6b 100644
--- a/dns/bind911/pkg-plist
+++ b/dns/bind911/pkg-plist
@@ -2,6 +2,7 @@ bin/arpaname
bin/bind9-config
bin/delv
bin/dig
+%%DNSTAP%%bin/dnstap-read
bin/host
bin/isc-config.sh
bin/mdig
@@ -34,6 +35,7 @@ include/dns/dlz_dlopen.h
include/dns/dns64.h
include/dns/dnssec.h
include/dns/dnstap.h
+%%DNSTAP%%include/dns/dnstap.pb-c.h
include/dns/ds.h
include/dns/dsdigest.h
include/dns/dyndb.h
@@ -136,6 +138,7 @@ include/isc/counter.h
include/isc/crc64.h
include/isc/dir.h
include/isc/entropy.h
+include/isc/errno.h
include/isc/error.h
include/isc/event.h
include/isc/eventclass.h
@@ -229,6 +232,7 @@ include/isccc/sexpr.h
include/isccc/symtab.h
include/isccc/symtype.h
include/isccc/types.h
+include/pk11/site.h
include/isccc/util.h
include/isccc/version.h
include/isccfg/aclconf.h
@@ -272,6 +276,7 @@ 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