aboutsummaryrefslogtreecommitdiff
path: root/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2023-11-10 18:12:48 +0000
committerMathieu Arnold <mat@FreeBSD.org>2024-05-17 17:29:35 +0000
commit0663764a4984f5a4b7b142f7cba2d67ef8faeea4 (patch)
tree90693076695743c972c04a959de62d7910796d0c /dns/bind9-devel/files/extrapatch-bind-min-override-ttl
parentdc7500fc606464ad4d2c66678bc30428572c2dd7 (diff)
downloadports-0663764a4984f5a4b7b142f7cba2d67ef8faeea4.tar.gz
ports-0663764a4984f5a4b7b142f7cba2d67ef8faeea4.zip
dns/bind9-devel: update to 9.19.18
Switch from gitlab to official BIND9 development releases.
Diffstat (limited to 'dns/bind9-devel/files/extrapatch-bind-min-override-ttl')
-rw-r--r--dns/bind9-devel/files/extrapatch-bind-min-override-ttl18
1 files changed, 9 insertions, 9 deletions
diff --git a/dns/bind9-devel/files/extrapatch-bind-min-override-ttl b/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
index 5ee5822278c9..3305062720c8 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 2022-06-10 05:54:30 UTC
+--- bin/named/config.c.orig 2023-11-09 12:05:47 UTC
+++ bin/named/config.c
-@@ -181,6 +181,7 @@ options {\n\
+@@ -177,6 +177,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.
parental-source *;\n\
parental-source-v6 *;\n\
provide-ixfr true;\n\
---- bin/named/server.c.orig 2022-06-10 05:54:30 UTC
+--- bin/named/server.c.orig 2023-11-09 12:05:47 UTC
+++ bin/named/server.c
-@@ -4521,6 +4521,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl
+@@ -4473,6 +4473,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 2022-06-10 05:54:30 UTC
+--- lib/dns/include/dns/view.h.orig 2023-11-09 12:05:47 UTC
+++ lib/dns/include/dns/view.h
@@ -149,6 +149,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 2022-06-10 05:54:30 UTC
+--- lib/dns/resolver.c.orig 2023-11-09 12:05:47 UTC
+++ lib/dns/resolver.c
-@@ -6126,6 +6126,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_mes
+@@ -5933,6 +5933,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 2022-06-10 05:54:30 UTC
+--- lib/isccfg/namedconf.c.orig 2023-11-09 12:05:47 UTC
+++ lib/isccfg/namedconf.c
-@@ -2093,6 +2093,7 @@ static cfg_clausedef_t view_clauses[] = {
+@@ -2088,6 +2088,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 },