git: 0663765e3e2e - main - dns/bind9-devel: update to 9.19.19

From: Mathieu Arnold <mat_at_FreeBSD.org>
Date: Fri, 17 May 2024 17:56:34 UTC
The branch main has been updated by mat:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0663765e3e2ec63b81cd670a93022757b3f0e69d

commit 0663765e3e2ec63b81cd670a93022757b3f0e69d
Author:     Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2023-12-09 16:40:50 +0000
Commit:     Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2024-05-17 17:55:38 +0000

    dns/bind9-devel: update to 9.19.19
---
 dns/bind-tools/pkg-plist-devel                     | 10 +++----
 dns/bind9-devel/Makefile                           |  2 +-
 dns/bind9-devel/distinfo                           |  6 ++---
 .../files/extrapatch-bind-min-override-ttl         | 31 +++++++++++++++-------
 dns/bind9-devel/pkg-plist                          | 12 ++++-----
 5 files changed, 37 insertions(+), 24 deletions(-)

diff --git a/dns/bind-tools/pkg-plist-devel b/dns/bind-tools/pkg-plist-devel
index 09454495d4b7..50df6f9f6b0e 100644
--- a/dns/bind-tools/pkg-plist-devel
+++ b/dns/bind-tools/pkg-plist-devel
@@ -16,15 +16,15 @@ bin/named-rrchecker
 bin/nsec3hash
 bin/nslookup
 bin/nsupdate
-lib/bind-tools/libdns-9.19.18.so
+lib/bind-tools/libdns-9.19.19.so
 lib/bind-tools/libdns.so
-lib/bind-tools/libisc-9.19.18.so
+lib/bind-tools/libisc-9.19.19.so
 lib/bind-tools/libisc.so
-lib/bind-tools/libisccc-9.19.18.so
+lib/bind-tools/libisccc-9.19.19.so
 lib/bind-tools/libisccc.so
-lib/bind-tools/libisccfg-9.19.18.so
+lib/bind-tools/libisccfg-9.19.19.so
 lib/bind-tools/libisccfg.so
-lib/bind-tools/libns-9.19.18.so
+lib/bind-tools/libns-9.19.19.so
 lib/bind-tools/libns.so
 share/man/man1/arpaname.1.gz
 share/man/man1/delv.1.gz
diff --git a/dns/bind9-devel/Makefile b/dns/bind9-devel/Makefile
index f80eea1d6a1e..4597b210aa2d 100644
--- a/dns/bind9-devel/Makefile
+++ b/dns/bind9-devel/Makefile
@@ -1,7 +1,7 @@
 # pkg-help formatted with fmt 59 63
 
 PORTNAME=	bind
-DISTVERSION=	9.19.18
+DISTVERSION=	9.19.19
 .if defined(BIND_TOOLS_SLAVE)
 # dns/bind-tools here
 PORTREVISION=	0
diff --git a/dns/bind9-devel/distinfo b/dns/bind9-devel/distinfo
index 8d4cb59f2198..f84737f95e80 100644
--- a/dns/bind9-devel/distinfo
+++ b/dns/bind9-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1701518000
-SHA256 (bind-9.19.18.tar.xz) = 42a2bed5e3727f83b23cc116c1330229e53e34b57833a37cbd0fe189315824f8
-SIZE (bind-9.19.18.tar.xz) = 5656312
+TIMESTAMP = 1715889897
+SHA256 (bind-9.19.19.tar.xz) = f14a9259d05ce63904ac6e6b378e0523adc12f8d3feaa4fa024b3ecf478e3322
+SIZE (bind-9.19.19.tar.xz) = 5691368
diff --git a/dns/bind9-devel/files/extrapatch-bind-min-override-ttl b/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
index 3305062720c8..9ebcfc0fc5ae 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	2023-11-09 12:05:47 UTC
+--- bin/named/config.c.orig	2023-12-08 11:46:50 UTC
 +++ bin/named/config.c
-@@ -177,6 +177,7 @@ options {\n\
+@@ -179,6 +179,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	2023-11-09 12:05:47 UTC
+--- bin/named/server.c.orig	2023-12-08 11:46:50 UTC
 +++ bin/named/server.c
-@@ -4473,6 +4473,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl
+@@ -4472,6 +4472,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl
  	}
  
  	obj = NULL;
@@ -24,9 +24,22 @@ 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	2023-11-09 12:05:47 UTC
+--- doc/arm/reference.rst.orig	2023-12-08 11:46:50 UTC
++++ doc/arm/reference.rst
+@@ -4198,6 +4198,10 @@ Tuning
+    cannot exceed 7 days and is silently truncated to 7 days if set to a
+    greater value.
+ 
++.. namedconf:statement:: override-cache-ttl
++
++   Enforce the configure cache TTL override.
++
+ .. 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-12-08 11:46:50 UTC
 +++ lib/dns/include/dns/view.h
-@@ -149,6 +149,7 @@ struct dns_view {
+@@ -151,6 +151,7 @@ struct dns_view {
  	bool		      requestnsid;
  	bool		      sendcookie;
  	dns_ttl_t	      maxcachettl;
@@ -34,7 +47,7 @@ Add the override-cache-ttl feature.
  	dns_ttl_t	      maxncachettl;
  	dns_ttl_t	      mincachettl;
  	dns_ttl_t	      minncachettl;
---- lib/dns/resolver.c.orig	2023-11-09 12:05:47 UTC
+--- lib/dns/resolver.c.orig	2023-12-08 11:46:50 UTC
 +++ lib/dns/resolver.c
 @@ -5933,6 +5933,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_mes
  		}
@@ -49,9 +62,9 @@ Add the override-cache-ttl feature.
  		 * Enforce the configure maximum cache TTL.
  		 */
  		if (rdataset->ttl > res->view->maxcachettl) {
---- lib/isccfg/namedconf.c.orig	2023-11-09 12:05:47 UTC
+--- lib/isccfg/namedconf.c.orig	2023-12-08 11:46:50 UTC
 +++ lib/isccfg/namedconf.c
-@@ -2088,6 +2088,7 @@ static cfg_clausedef_t view_clauses[] = {
+@@ -2096,6 +2096,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/pkg-plist b/dns/bind9-devel/pkg-plist
index f39cec7e0da2..4ae61f8ae289 100644
--- a/dns/bind9-devel/pkg-plist
+++ b/dns/bind9-devel/pkg-plist
@@ -110,7 +110,6 @@ include/dns/zt.h
 include/dst/dst.h
 include/dst/gssapi.h
 include/irs/resconf.h
-include/isc/aes.h
 include/isc/align.h
 include/isc/ascii.h
 include/isc/assertions.h
@@ -171,6 +170,7 @@ include/isc/overflow.h
 include/isc/parseint.h
 include/isc/pause.h
 include/isc/portset.h
+include/isc/proxy2.h
 include/isc/quota.h
 include/isc/radix.h
 include/isc/random.h
@@ -239,15 +239,15 @@ include/ns/update.h
 include/ns/xfrout.h
 lib/bind/filter-a.so
 lib/bind/filter-aaaa.so
-lib/libdns-9.19.18.so
+lib/libdns-9.19.19.so
 lib/libdns.so
-lib/libisc-9.19.18.so
+lib/libisc-9.19.19.so
 lib/libisc.so
-lib/libisccc-9.19.18.so
+lib/libisccc-9.19.19.so
 lib/libisccc.so
-lib/libisccfg-9.19.18.so
+lib/libisccfg-9.19.19.so
 lib/libisccfg.so
-lib/libns-9.19.18.so
+lib/libns-9.19.19.so
 lib/libns.so
 @comment share/man/man1/arpaname.1.gz
 @comment share/man/man1/delv.1.gz