dns/bind918: update to 9.18.19

Security:	-2023-3341, CVE-2023-4236
This commit is contained in:
Mathieu Arnold 2023-09-20 17:41:15 +02:00
parent 06339612ae
commit 0633962ec6
No known key found for this signature in database
GPG key ID: 7F620E0A9E9D41BE
5 changed files with 26 additions and 26 deletions

View file

@ -17,19 +17,19 @@ bin/nsec3hash
bin/nslookup
bin/nsupdate
lib/bind-tools/libbind9.so
lib/bind-tools/libbind9-9.18.16.so
lib/bind-tools/libbind9-9.18.19.so
lib/bind-tools/libdns.so
lib/bind-tools/libdns-9.18.16.so
lib/bind-tools/libdns-9.18.19.so
lib/bind-tools/libirs.so
lib/bind-tools/libirs-9.18.16.so
lib/bind-tools/libirs-9.18.19.so
lib/bind-tools/libisc.so
lib/bind-tools/libisc-9.18.16.so
lib/bind-tools/libisc-9.18.19.so
lib/bind-tools/libisccc.so
lib/bind-tools/libisccc-9.18.16.so
lib/bind-tools/libisccc-9.18.19.so
lib/bind-tools/libisccfg.so
lib/bind-tools/libisccfg-9.18.16.so
lib/bind-tools/libisccfg-9.18.19.so
lib/bind-tools/libns.so
lib/bind-tools/libns-9.18.16.so
lib/bind-tools/libns-9.18.19.so
%%MANPAGES%%man/man1/arpaname.1.gz
%%MANPAGES%%man/man1/delv.1.gz
%%MANPAGES%%man/man1/dig.1.gz

View file

@ -44,7 +44,7 @@ RUN_DEPENDS= bind-tools>0:dns/bind-tools
USES= autoreconf compiler:c11 cpe libedit libtool pkgconfig ssl tar:xz
# ISC releases things like 9.8.0-P1, which our versioning doesn't like
ISCVERSION= 9.18.16
ISCVERSION= 9.18.19
CPE_VENDOR= isc
CPE_VERSION= ${ISCVERSION:C/-.*//}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1687331488
SHA256 (bind-9.18.16.tar.xz) = c88234fe07ee75c3c8a9e59152fee64b714643de8e22cf98da3db4d0b57e0775
SIZE (bind-9.18.16.tar.xz) = 5462456
TIMESTAMP = 1695220312
SHA256 (bind-9.18.19.tar.xz) = 115e09c05439bebade1d272eda08fa88eb3b60129edef690588c87a4d27612cc
SIZE (bind-9.18.19.tar.xz) = 5508464

View file

@ -1,6 +1,6 @@
Add the override-cache-ttl feature.
--- bin/named/config.c.orig 2023-06-09 13:48:46 UTC
--- bin/named/config.c.orig 2023-09-11 08:51:08 UTC
+++ bin/named/config.c
@@ -184,6 +184,7 @@ options {\n\
notify-source *;\n\
@ -10,7 +10,7 @@ Add the override-cache-ttl feature.
parental-source *;\n\
parental-source-v6 *;\n\
provide-ixfr true;\n\
--- bin/named/server.c.orig 2023-06-09 13:48:46 UTC
--- bin/named/server.c.orig 2023-09-11 08:51:08 UTC
+++ bin/named/server.c
@@ -4571,6 +4571,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl
}
@ -24,9 +24,9 @@ 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);
--- doc/arm/reference.rst.orig 2023-06-09 13:48:46 UTC
--- doc/arm/reference.rst.orig 2023-09-11 08:51:09 UTC
+++ doc/arm/reference.rst
@@ -4311,6 +4311,10 @@ Tuning
@@ -4338,6 +4338,10 @@ Tuning
cannot exceed 7 days and is silently truncated to 7 days if set to a
greater value.
@ -37,7 +37,7 @@ Add the override-cache-ttl feature.
.. namedconf:statement:: max-cache-ttl
:tags: server
:short: Specifies the maximum time (in seconds) that the server caches ordinary (positive) answers.
--- lib/dns/include/dns/view.h.orig 2023-06-09 13:48:46 UTC
--- lib/dns/include/dns/view.h.orig 2023-09-11 08:51:09 UTC
+++ lib/dns/include/dns/view.h
@@ -157,6 +157,7 @@ struct dns_view {
bool requestnsid;
@ -47,9 +47,9 @@ Add the override-cache-ttl feature.
dns_ttl_t maxncachettl;
dns_ttl_t mincachettl;
dns_ttl_t minncachettl;
--- lib/dns/resolver.c.orig 2023-06-09 13:48:46 UTC
--- lib/dns/resolver.c.orig 2023-09-11 08:51:09 UTC
+++ lib/dns/resolver.c
@@ -6260,6 +6260,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_mes
@@ -6250,6 +6250,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_mes
}
/*
@ -62,7 +62,7 @@ Add the override-cache-ttl feature.
* Enforce the configure maximum cache TTL.
*/
if (rdataset->ttl > res->view->maxcachettl) {
--- lib/isccfg/namedconf.c.orig 2023-06-09 13:48:46 UTC
--- lib/isccfg/namedconf.c.orig 2023-09-11 08:51:09 UTC
+++ lib/isccfg/namedconf.c
@@ -2100,6 +2100,7 @@ static cfg_clausedef_t view_clauses[] = {
#endif /* ifdef HAVE_LMDB */

View file

@ -241,19 +241,19 @@ include/ns/xfrout.h
lib/bind/filter-a.so
lib/bind/filter-aaaa.so
lib/libbind9.so
lib/libbind9-9.18.16.so
lib/libbind9-9.18.19.so
lib/libdns.so
lib/libdns-9.18.16.so
lib/libdns-9.18.19.so
lib/libirs.so
lib/libirs-9.18.16.so
lib/libirs-9.18.19.so
lib/libisc.so
lib/libisc-9.18.16.so
lib/libisc-9.18.19.so
lib/libisccc.so
lib/libisccc-9.18.16.so
lib/libisccc-9.18.19.so
lib/libisccfg.so
lib/libisccfg-9.18.16.so
lib/libisccfg-9.18.19.so
lib/libns.so
lib/libns-9.18.16.so
lib/libns-9.18.19.so
@comment man/man1/arpaname.1.gz
@comment man/man1/delv.1.gz
@comment man/man1/dig.1.gz