mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
dns/bind911: Update to 9.11.32
Changes: https://downloads.isc.org/isc/bind9/9.11.32/RELEASE-NOTES-bind-9.11.32.html
This commit is contained in:
parent
b2cf151291
commit
1028dc308d
@ -23,7 +23,7 @@ RUN_DEPENDS= bind-tools>0:dns/bind-tools
|
||||
USES= cpe libedit pkgconfig
|
||||
|
||||
# ISC releases things like 9.8.0-P1, which our versioning doesn't like
|
||||
ISCVERSION= 9.11.31
|
||||
ISCVERSION= 9.11.32
|
||||
|
||||
CPE_VENDOR= isc
|
||||
CPE_VERSION= ${ISCVERSION:C/-.*//}
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1619513308
|
||||
SHA256 (bind-9.11.31.tar.gz) = f5f24457f42b2e86870d887596e47500e4d40521a098dcb96f3a06f18adfa36a
|
||||
SIZE (bind-9.11.31.tar.gz) = 8296079
|
||||
TIMESTAMP = 1621600149
|
||||
SHA256 (bind-9.11.32.tar.gz) = cbf8cb4b74dd1452d97c3a2a8c625ea346df8516b4b3508ef07443121a591342
|
||||
SIZE (bind-9.11.32.tar.gz) = 8300154
|
||||
|
@ -1,7 +1,7 @@
|
||||
- Add the min-cache-ttl config knob.
|
||||
- Add the override-cache-ttl config knob.
|
||||
|
||||
--- bin/named/config.c.orig 2020-12-08 08:36:42 UTC
|
||||
--- bin/named/config.c.orig 2021-05-12 10:45:51 UTC
|
||||
+++ bin/named/config.c
|
||||
@@ -182,6 +182,8 @@ options {\n\
|
||||
" max-acache-size 16M;\n\
|
||||
@ -12,9 +12,9 @@
|
||||
max-clients-per-query 100;\n\
|
||||
max-ncache-ttl 10800; /* 3 hours */\n\
|
||||
max-recursion-depth 7;\n\
|
||||
--- bin/named/server.c.orig 2020-12-08 08:36:42 UTC
|
||||
--- bin/named/server.c.orig 2021-05-12 10:45:51 UTC
|
||||
+++ bin/named/server.c
|
||||
@@ -3720,6 +3720,16 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl
|
||||
@@ -3721,6 +3721,16 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl
|
||||
}
|
||||
|
||||
obj = NULL;
|
||||
@ -31,7 +31,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 2020-12-08 08:36:42 UTC
|
||||
--- lib/dns/include/dns/view.h.orig 2021-05-12 10:45:51 UTC
|
||||
+++ lib/dns/include/dns/view.h
|
||||
@@ -152,6 +152,8 @@ struct dns_view {
|
||||
bool requestnsid;
|
||||
@ -42,7 +42,7 @@
|
||||
dns_ttl_t maxncachettl;
|
||||
uint32_t nta_lifetime;
|
||||
uint32_t nta_recheck;
|
||||
--- lib/dns/resolver.c.orig 2020-12-08 08:36:42 UTC
|
||||
--- lib/dns/resolver.c.orig 2021-05-12 10:45:51 UTC
|
||||
+++ lib/dns/resolver.c
|
||||
@@ -5579,6 +5579,18 @@ cache_name(fetchctx_t *fctx, dns_message_t *rmessage,
|
||||
}
|
||||
@ -63,7 +63,7 @@
|
||||
* Enforce the configure maximum cache TTL.
|
||||
*/
|
||||
if (rdataset->ttl > res->view->maxcachettl) {
|
||||
--- lib/isccfg/namedconf.c.orig 2020-12-08 08:36:42 UTC
|
||||
--- lib/isccfg/namedconf.c.orig 2021-05-12 10:45:51 UTC
|
||||
+++ lib/isccfg/namedconf.c
|
||||
@@ -1773,6 +1773,8 @@ view_clauses[] = {
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user