git: 0711929c2cfa - 2025Q3 - dns/bind918: update to 9.18.38

From: Mathieu Arnold <mat_at_FreeBSD.org>
Date: Thu, 17 Jul 2025 06:04:06 UTC
The branch 2025Q3 has been updated by mat:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0711929c2cfa85e85cd49e2d8b2a0d9bf23c3574

commit 0711929c2cfa85e85cd49e2d8b2a0d9bf23c3574
Author:     Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2025-07-17 05:25:48 +0000
Commit:     Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2025-07-17 06:03:46 +0000

    dns/bind918: update to 9.18.38
    
    Security:       CVE-2025-40777
    (cherry picked from commit 07130914c1ad88d6453eb21701da507b49bea858)
---
 dns/bind918/Makefile                               |  4 ++--
 dns/bind918/distinfo                               |  6 +++---
 dns/bind918/files/extrapatch-bind-min-override-ttl | 14 +++++++-------
 dns/bind918/pkg-plist                              | 14 +++++++-------
 4 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/dns/bind918/Makefile b/dns/bind918/Makefile
index 04f85e22be56..cc2f895c4b52 100644
--- a/dns/bind918/Makefile
+++ b/dns/bind918/Makefile
@@ -1,8 +1,8 @@
 # pkg-help formatted with fmt 59 63
 
 PORTNAME=	bind
-DISTVERSION=	9.18.37
-PORTREVISION=	2
+DISTVERSION=	9.18.38
+PORTREVISION=	0
 CATEGORIES=	dns net
 MASTER_SITES=	ISC/bind9/${DISTVERSION}
 PKGNAMESUFFIX=	918
diff --git a/dns/bind918/distinfo b/dns/bind918/distinfo
index bf584a1cfaa8..99584ea6783a 100644
--- a/dns/bind918/distinfo
+++ b/dns/bind918/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1747834565
-SHA256 (bind-9.18.37.tar.xz) = b322aaa4b0a98dba7507a18107b06283ec969af9af4797992e0a200fabace646
-SIZE (bind-9.18.37.tar.xz) = 5358128
+TIMESTAMP = 1752729485
+SHA256 (bind-9.18.38.tar.xz) = b11fce934773ec25dd6d7253caeaf9c5bbf073fd327acc29daffeca3987e31a1
+SIZE (bind-9.18.38.tar.xz) = 5362772
diff --git a/dns/bind918/files/extrapatch-bind-min-override-ttl b/dns/bind918/files/extrapatch-bind-min-override-ttl
index 48b3f75c10f9..5fab4d9d5ef5 100644
--- a/dns/bind918/files/extrapatch-bind-min-override-ttl
+++ b/dns/bind918/files/extrapatch-bind-min-override-ttl
@@ -1,6 +1,6 @@
 Add the override-cache-ttl feature.
 
---- bin/named/config.c.orig	2025-04-09 14:37:24 UTC
+--- bin/named/config.c.orig	2025-07-04 09:46:41 UTC
 +++ bin/named/config.c
 @@ -186,6 +186,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	2025-04-09 14:37:24 UTC
+--- bin/named/server.c.orig	2025-07-04 09:46:41 UTC
 +++ bin/named/server.c
 @@ -4755,6 +4755,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	2025-04-09 14:37:24 UTC
+--- doc/arm/reference.rst.orig	2025-07-04 09:46:42 UTC
 +++ doc/arm/reference.rst
-@@ -4388,6 +4388,10 @@ Tuning
+@@ -4391,6 +4391,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	2025-04-09 14:37:24 UTC
+--- lib/dns/include/dns/view.h.orig	2025-07-04 09:46:42 UTC
 +++ lib/dns/include/dns/view.h
 @@ -157,6 +157,7 @@ struct dns_view {
  	bool		      requestnsid;
@@ -47,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	2025-04-09 14:37:24 UTC
+--- lib/dns/resolver.c.orig	2025-07-04 09:46:42 UTC
 +++ lib/dns/resolver.c
 @@ -6425,6 +6425,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	2025-04-09 14:37:25 UTC
+--- lib/isccfg/namedconf.c.orig	2025-07-04 09:46:42 UTC
 +++ lib/isccfg/namedconf.c
 @@ -2105,6 +2105,7 @@ static cfg_clausedef_t view_clauses[] = {
  #endif /* ifdef HAVE_LMDB */
diff --git a/dns/bind918/pkg-plist b/dns/bind918/pkg-plist
index 429310fceb20..d5899878e4fc 100644
--- a/dns/bind918/pkg-plist
+++ b/dns/bind918/pkg-plist
@@ -240,19 +240,19 @@ include/ns/xfrout.h
 lib/bind/filter-a.so
 lib/bind/filter-aaaa.so
 lib/libbind9.so
-lib/libbind9-9.18.37.so
+lib/libbind9-9.18.38.so
 lib/libdns.so
-lib/libdns-9.18.37.so
+lib/libdns-9.18.38.so
 lib/libirs.so
-lib/libirs-9.18.37.so
+lib/libirs-9.18.38.so
 lib/libisc.so
-lib/libisc-9.18.37.so
+lib/libisc-9.18.38.so
 lib/libisccc.so
-lib/libisccc-9.18.37.so
+lib/libisccc-9.18.38.so
 lib/libisccfg.so
-lib/libisccfg-9.18.37.so
+lib/libisccfg-9.18.38.so
 lib/libns.so
-lib/libns-9.18.37.so
+lib/libns-9.18.38.so
 @comment share/man/man1/arpaname.1.gz
 @comment share/man/man1/delv.1.gz
 @comment share/man/man1/dig.1.gz