aboutsummaryrefslogtreecommitdiff
path: root/dns/bind9-devel/files
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2019-09-02 17:44:20 +0000
committerMathieu Arnold <mat@FreeBSD.org>2019-09-02 17:44:20 +0000
commit043e594f3f82e30dcdcf41c48fbadf398998b5d0 (patch)
tree131b0b682070279cade5f395cf860a548a8aa368 /dns/bind9-devel/files
parent595ac6ed9adf75af3bf28f5d2c248b27c12d9817 (diff)
downloadports-043e594f3f82e30dcdcf41c48fbadf398998b5d0.tar.gz
ports-043e594f3f82e30dcdcf41c48fbadf398998b5d0.zip
Notes
Diffstat (limited to 'dns/bind9-devel/files')
-rw-r--r--dns/bind9-devel/files/extrapatch-bind-min-override-ttl14
1 files changed, 7 insertions, 7 deletions
diff --git a/dns/bind9-devel/files/extrapatch-bind-min-override-ttl b/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
index 70c5bce86955..7a4242d55bc5 100644
--- a/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
+++ b/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
@@ -1,6 +1,6 @@
Add the override-cache-ttl feature.
---- bin/named/config.c.orig 2019-08-12 08:39:30 UTC
+--- bin/named/config.c.orig 2019-08-30 19:08:30 UTC
+++ bin/named/config.c
@@ -177,6 +177,7 @@ options {\n\
notify-source *;\n\
@@ -10,9 +10,9 @@ Add the override-cache-ttl feature.
provide-ixfr true;\n\
qname-minimization relaxed;\n\
query-source address *;\n\
---- bin/named/server.c.orig 2019-08-12 08:39:30 UTC
+--- bin/named/server.c.orig 2019-08-30 19:08:30 UTC
+++ bin/named/server.c
-@@ -4217,6 +4217,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl
+@@ -4215,6 +4215,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl
}
obj = NULL;
@@ -24,7 +24,7 @@ Add the override-cache-ttl feature.
result = named_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 2019-08-12 08:39:30 UTC
+--- lib/dns/include/dns/view.h.orig 2019-08-30 19:08:30 UTC
+++ lib/dns/include/dns/view.h
@@ -152,6 +152,7 @@ struct dns_view {
bool requestnsid;
@@ -34,9 +34,9 @@ Add the override-cache-ttl feature.
dns_ttl_t maxncachettl;
dns_ttl_t mincachettl;
dns_ttl_t minncachettl;
---- lib/dns/resolver.c.orig 2019-08-12 08:39:30 UTC
+--- lib/dns/resolver.c.orig 2019-08-30 19:08:30 UTC
+++ lib/dns/resolver.c
-@@ -6011,6 +6011,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_adb
+@@ -6007,6 +6007,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_adb
}
/*
@@ -49,7 +49,7 @@ Add the override-cache-ttl feature.
* Enforce the configure maximum cache TTL.
*/
if (rdataset->ttl > res->view->maxcachettl) {
---- lib/isccfg/namedconf.c.orig 2019-08-12 08:39:30 UTC
+--- lib/isccfg/namedconf.c.orig 2019-08-30 19:08:30 UTC
+++ lib/isccfg/namedconf.c
@@ -1907,6 +1907,7 @@ view_clauses[] = {
#endif