diff options
Diffstat (limited to 'dns/bind9-devel/files')
-rw-r--r-- | dns/bind9-devel/files/extrapatch-bind-min-override-ttl | 18 | ||||
-rw-r--r-- | dns/bind9-devel/files/patch-bin_named_include_named_globals.h | 4 |
2 files changed, 11 insertions, 11 deletions
diff --git a/dns/bind9-devel/files/extrapatch-bind-min-override-ttl b/dns/bind9-devel/files/extrapatch-bind-min-override-ttl index 2a19cea829e0..e795c0f65aac 100644 --- a/dns/bind9-devel/files/extrapatch-bind-min-override-ttl +++ b/dns/bind9-devel/files/extrapatch-bind-min-override-ttl @@ -1,8 +1,8 @@ Add the override-cache-ttl feature. ---- bin/named/config.c.orig 2021-01-29 14:54:42 UTC +--- bin/named/config.c.orig 2021-02-14 23:02:44 UTC +++ bin/named/config.c -@@ -179,6 +179,7 @@ options {\n\ +@@ -181,6 +181,7 @@ options {\n\ notify-source *;\n\ notify-source-v6 *;\n\ nsec3-test-zone no;\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 2021-01-29 14:54:42 UTC +--- bin/named/server.c.orig 2021-02-14 23:02:44 UTC +++ bin/named/server.c -@@ -4435,6 +4435,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl +@@ -4441,6 +4441,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_asduration(obj); ---- lib/dns/include/dns/view.h.orig 2021-01-29 14:54:42 UTC +--- lib/dns/include/dns/view.h.orig 2021-02-14 23:02:44 UTC +++ lib/dns/include/dns/view.h @@ -154,6 +154,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 2021-01-29 14:54:42 UTC +--- lib/dns/resolver.c.orig 2021-02-14 23:02:44 UTC +++ lib/dns/resolver.c -@@ -6389,6 +6389,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_mes +@@ -6388,6 +6388,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_mes } /* @@ -49,9 +49,9 @@ Add the override-cache-ttl feature. * Enforce the configure maximum cache TTL. */ if (rdataset->ttl > res->view->maxcachettl) { ---- lib/isccfg/namedconf.c.orig 2021-01-29 14:54:42 UTC +--- lib/isccfg/namedconf.c.orig 2021-02-14 23:02:44 UTC +++ lib/isccfg/namedconf.c -@@ -2000,6 +2000,7 @@ static cfg_clausedef_t view_clauses[] = { +@@ -2007,6 +2007,7 @@ static cfg_clausedef_t view_clauses[] = { #endif /* ifdef HAVE_LMDB */ { "max-acache-size", NULL, CFG_CLAUSEFLAG_ANCIENT }, { "max-cache-size", &cfg_type_sizeorpercent, 0 }, diff --git a/dns/bind9-devel/files/patch-bin_named_include_named_globals.h b/dns/bind9-devel/files/patch-bin_named_include_named_globals.h index 6c5488bb97b2..173ad8b5d006 100644 --- a/dns/bind9-devel/files/patch-bin_named_include_named_globals.h +++ b/dns/bind9-devel/files/patch-bin_named_include_named_globals.h @@ -1,8 +1,8 @@ We reference the pid file as being run/named/pid everywere else. ---- bin/named/include/named/globals.h.orig 2020-11-11 21:48:13 UTC +--- bin/named/include/named/globals.h.orig 2021-02-08 02:55:31 UTC +++ bin/named/include/named/globals.h -@@ -128,7 +128,7 @@ EXTERN bool named_g_forcelock INIT(false); +@@ -130,7 +130,7 @@ EXTERN bool named_g_forcelock INIT(false); #if NAMED_RUN_PID_DIR EXTERN const char *named_g_defaultpidfile INIT(NAMED_LOCALSTATEDIR "/run/named/" |