about [UPDATING] [MOVED] [vuxml]summaryrefslograw-logtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2026-11-18 18:06:08 +0000
committerMathieu Arnold <mat@FreeBSD.org>2026-11-18 18:15:51 +0000
commit07708130b3c8e188a89cf1298d1dbd9bf5ce91c0 (patch) (diff)
treeb6e83d1090b1055d086949474fcc333e3450916b
downloadports-07708130b3c8e188a89cf1298d1dbd9bf5ce91c0.tar.gz
 
previous commit077081202a5d9ee80fa8e5bce00b9a666746d928 (dns/bind920: update to 9.20.31)
dns/bind9-devel: update to 9.21.28
Drop the OVERRIDECACHE patch, it does not apply any more. Changes: https://downloads.isc.org/isc/bind9/9.21.28/doc/arm/html/notes.html#notes-for-bind-9-21-28 (cherry picked from commit 07806940bd47cc449e6e3eeb5d5f301eb14995e0)
-rw-r--r--dns/bind-tools/pkg-plist-devel[diff] [file]10
-rw-r--r--dns/bind9-devel/Makefile[diff] [file]13
-rw-r--r--dns/bind9-devel/distinfo[diff] [file]6
-rw-r--r--dns/bind9-devel/files/extrapatch-bind-min-override-ttl[diff] [file]84
-rw-r--r--dns/bind9-devel/files/patch-meson.build[diff] [file]22
-rw-r--r--dns/bind9-devel/pkg-plist[diff] [file]14
6 files changed, 32 insertions, 117 deletions
diff --git a/dns/bind-tools/pkg-plist-devel b/dns/bind-tools/pkg-plist-devel
index 7092c1c1c6ac..3bf2e30afcae 100644
--- a/dns/bind-tools/pkg-plist-devel
+++ b/dns/bind-tools/pkg-plist-devel
@@ -18,11 +18,11 @@ bin/named-rrchecker
bin/nsec3hash
bin/nslookup
bin/nsupdate
-lib/bind-tools/libdns-9.21.27.so
-lib/bind-tools/libisc-9.21.27.so
-lib/bind-tools/libisccc-9.21.27.so
-lib/bind-tools/libisccfg-9.21.27.so
-lib/bind-tools/libns-9.21.27.so
+lib/bind-tools/libdns-9.21.28.so
+lib/bind-tools/libisc-9.21.28.so
+lib/bind-tools/libisccc-9.21.28.so
+lib/bind-tools/libisccfg-9.21.28.so
+lib/bind-tools/libns-9.21.28.so
share/man/man1/arpaname.1.gz
share/man/man1/delv.1.gz
share/man/man1/dig.1.gz
diff --git a/dns/bind9-devel/Makefile b/dns/bind9-devel/Makefile
index a964bb0d10e1..000e162ee8b2 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.21.27
+DISTVERSION= 9.21.28
.if defined(BIND_TOOLS_SLAVE)
# dns/bind-tools here
PORTREVISION= 0
@@ -86,7 +86,7 @@ SUB_FILES= named.conf pkg-message
PORTDOCS= *
.endif # BIND_TOOLS_SLAVE
-OPTIONS_DEFINE= DNSTAP DOCS GEOIP IDN OVERRIDECACHE QUERYTRACE \
+OPTIONS_DEFINE= DNSTAP DOCS GEOIP IDN QUERYTRACE \
START_LATE
OPTIONS_DEFAULT= DNSTAP ${${OSREL:R} < 15:?GSSAPI_NONE:GSSAPI_BASE} IDN \
STATS_JSON STATS_XML
@@ -98,7 +98,7 @@ OPTIONS_SINGLE= GSSAPI
OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE
.if defined(BIND_TOOLS_SLAVE)
-OPTIONS_EXCLUDE= DOCS GEOIP OVERRIDECACHE QUERYTRACE START_LATE \
+OPTIONS_EXCLUDE= DOCS GEOIP QUERYTRACE START_LATE \
STATS_JSON STATS_XML
.endif # BIND_TOOLS_SLAVE
@@ -109,7 +109,6 @@ GSSAPI_BASE_DESC= Using ${${OSREL:R} < 15:?Heimdal in base (nsupdate is broken):
GSSAPI_HEIMDAL_DESC= Using security/heimdal (nsupdate is broken)
GSSAPI_MIT_DESC= Using security/krb5
GSSAPI_NONE_DESC= Disable
-OVERRIDECACHE_DESC= Use the override-cache patch
QUERYTRACE_DESC= Enable the very verbose query tracelogging
START_LATE_DESC= Start BIND late in the boot process (see help)
STATS_DESC= Statistics channels
@@ -150,8 +149,6 @@ IDN_LIB_DEPENDS= libidn2.so:dns/libidn2
IDN_USES= iconv
IDN_MESON_ENABLED= idn
-OVERRIDECACHE_EXTRA_PATCHES= ${FILESDIR}/extrapatch-bind-min-override-ttl
-
QUERYTRACE_MESON_ON= -Dtrace-logging=query
START_LATE_SUB_LIST= NAMED_BEFORE="LOGIN" \
@@ -192,9 +189,7 @@ SUB_LIST+= ENGINES=${LOCALBASE}/lib/engines
regen-patches:
cd ${.CURDIR} ; \
make clean ; \
- mv files/extrapatch-bind-min-override-ttl files/patch-bind-min-override-ttl ; \
- make extract do-patch makepatch BATCH= NO_IGNORE= PATCH_DEBUG=yes EXTRA_PATCHES= || : ; \
- mv files/patch-bind-min-override-ttl files/extrapatch-bind-min-override-ttl
+ make extract do-patch makepatch BATCH= NO_IGNORE= PATCH_DEBUG=yes EXTRA_PATCHES= || : ;
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/mtree
diff --git a/dns/bind9-devel/distinfo b/dns/bind9-devel/distinfo
index 947c3b7e95a6..f68809c90759 100644
--- a/dns/bind9-devel/distinfo
+++ b/dns/bind9-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1792598036
-SHA256 (bind-9.21.27.tar.xz) = a579fee35da9042b656edcc41580f822c08604d9a5710cec958e8490d7eba306
-SIZE (bind-9.21.27.tar.xz) = 5601244
+TIMESTAMP = 1795024478
+SHA256 (bind-9.21.28.tar.xz) = 06a4d2e41cddd0daeb123097956bba31291e75a05d0e4249cdd5bc495022e74a
+SIZE (bind-9.21.28.tar.xz) = 5689084
diff --git a/dns/bind9-devel/files/extrapatch-bind-min-override-ttl b/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
deleted file mode 100644
index 7c867d47ea09..000000000000
--- a/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
+++ /dev/null
@@ -1,84 +0,0 @@
-Add the override-cache-ttl feature.
-
---- bin/include/defaultconfig.h.orig 2026-10-09 09:06:40 UTC
-+++ bin/include/defaultconfig.h
-@@ -161,6 +161,7 @@ options {\n\
- notify-source *;\n\
- notify-source-v6 *;\n\
- nsec3-test-zone no;\n\
-+ override-cache-ttl 0;\n\
- parental-source *;\n\
- parental-source-v6 *;\n\
- provide-ixfr true;\n\
---- bin/named/server.c.orig 2026-10-09 09:06:40 UTC
-+++ bin/named/server.c
-@@ -4157,6 +4157,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl
- }
-
- obj = NULL;
-+ result = named_config_get(maps, "override-cache-ttl", &obj);
-+ INSIST(result == ISC_R_SUCCESS);
-+ view->overridecachettl = cfg_obj_asduration(obj);
-+
-+ obj = NULL;
- 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 2026-10-09 09:06:40 UTC
-+++ doc/arm/reference.rst
-@@ -4267,6 +4267,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.
---- doc/misc/options.orig 2026-10-09 09:06:40 UTC
-+++ doc/misc/options
-@@ -171,6 +171,7 @@ options {
- masterfile-style ( full | relative );
- match-mapped-addresses <boolean>;
- max-cache-size ( default | unlimited | <sizeval> | <percentage> );
-+ override-cache-ttl <duration>;
- max-cache-ttl <duration>;
- max-clients-per-query <integer>;
- max-delegation-servers <integer>; // experimental
---- lib/dns/include/dns/view.h.orig 2026-10-09 09:06:40 UTC
-+++ lib/dns/include/dns/view.h
-@@ -157,6 +157,7 @@ struct dns_view {
- bool requestzoneversion;
- bool sendcookie;
- dns_ttl_t maxcachettl;
-+ dns_ttl_t overridecachettl;
- dns_ttl_t maxncachettl;
- dns_ttl_t mincachettl;
- dns_ttl_t minncachettl;
---- lib/dns/resolver.c.orig 2026-10-09 09:06:40 UTC
-+++ lib/dns/resolver.c
-@@ -6166,6 +6166,12 @@ fixttls(dns_view_t *view, dns_rdataset_t *rdataset,
- fixttls(dns_view_t *view, dns_rdataset_t *rdataset,
- dns_rdataset_t *sigrdataset) {
- /*
-+ * Enforce the configured cache TTL override.
-+ */
-+ if (view->overridecachettl)
-+ rdataset->ttl = view->overridecachettl;
-+
-+ /*
- * Enforce the configured maximum and minimum cache TTL.
- */
- if (rdataset->ttl > view->maxcachettl) {
---- lib/isccfg/namedconf.c.orig 2026-10-09 09:06:40 UTC
-+++ lib/isccfg/namedconf.c
-@@ -2422,6 +2422,7 @@ static cfg_clausedef_t view_clauses[] = {
- { "nta-lifetime", &cfg_type_duration, 0, NULL },
- { "nta-recheck", &cfg_type_duration, 0, NULL },
- { "nxdomain-redirect", &cfg_type_astring, 0, NULL },
-+ { "override-cache-ttl", &cfg_type_duration, 0, NULL },
- { "preferred-glue", &cfg_type_astring, 0, NULL },
- { "prefetch", &cfg_type_prefetch, 0, prefetch_merge },
- { "provide-ixfr", &cfg_type_boolean, 0, NULL },
diff --git a/dns/bind9-devel/files/patch-meson.build b/dns/bind9-devel/files/patch-meson.build
index 4d869a1c0b99..b7a7ce9f4289 100644
--- a/dns/bind9-devel/files/patch-meson.build
+++ b/dns/bind9-devel/files/patch-meson.build
@@ -1,6 +1,6 @@
Use bind-tools option to ease the server/tools package split
---- meson.build.orig 2026-10-09 09:06:40 UTC
+--- meson.build.orig 2026-11-06 09:46:42 UTC
+++ meson.build
@@ -73,6 +73,8 @@ zlib_opt = get_option('zlib').enable_auto_if(developer
tracing_opt = get_option('tracing')
@@ -11,7 +11,7 @@ Use bind-tools option to ease the server/tools package split
build_options = meson.build_options()
if build_options == ''
build_options = 'default'
-@@ -1381,6 +1383,7 @@ libisccfg_dep = declare_dependency(
+@@ -1404,6 +1406,7 @@ libisccfg_dep = declare_dependency(
include_directories: isccfg_inc,
)
@@ -19,7 +19,7 @@ Use bind-tools option to ease the server/tools package split
executable(
'arpaname',
arpaname_src,
-@@ -1608,7 +1611,9 @@ executable(
+@@ -1631,7 +1634,9 @@ executable(
libisc_dep,
],
)
@@ -29,7 +29,7 @@ Use bind-tools option to ease the server/tools package split
executable(
'named-checkconf',
named_checkconf_src,
-@@ -1685,7 +1690,9 @@ executable(
+@@ -1708,7 +1713,9 @@ executable(
lmdb_dep,
],
)
@@ -39,7 +39,7 @@ Use bind-tools option to ease the server/tools package split
executable(
'named-rrchecker',
named_rrchecker_src,
-@@ -1699,6 +1706,7 @@ executable(
+@@ -1722,6 +1729,7 @@ executable(
],
)
@@ -47,7 +47,7 @@ Use bind-tools option to ease the server/tools package split
named_deps = []
-@@ -1736,6 +1744,7 @@ named_srcconf = named_srcset.apply(config, strict: fal
+@@ -1759,6 +1767,7 @@ named_srcconf = named_srcset.apply(config, strict: fal
named_srcconf = named_srcset.apply(config, strict: false)
@@ -55,7 +55,7 @@ Use bind-tools option to ease the server/tools package split
executable(
'named',
named_srcconf.sources(),
-@@ -1765,7 +1774,9 @@ executable(
+@@ -1788,7 +1797,9 @@ executable(
named_srcconf.dependencies(),
],
)
@@ -65,7 +65,7 @@ Use bind-tools option to ease the server/tools package split
executable(
'nsec3hash',
nsec3hash_src,
-@@ -1813,7 +1824,9 @@ executable(
+@@ -1836,7 +1847,9 @@ executable(
edit_dep,
],
)
@@ -75,7 +75,7 @@ Use bind-tools option to ease the server/tools package split
executable(
'rndc-confgen',
rndc_confgen_src,
-@@ -1924,6 +1937,7 @@ shared_library(
+@@ -1947,6 +1960,7 @@ shared_library(
libns_dep,
],
)
@@ -83,7 +83,7 @@ Use bind-tools option to ease the server/tools package split
subdir('doc')
subdir('tests')
-@@ -2006,7 +2020,6 @@ print(release_date, end="")
+@@ -2029,7 +2043,6 @@ print(release_date, end="")
print(release_date, end="")
'''
@@ -91,7 +91,7 @@ Use bind-tools option to ease the server/tools package split
release_date = ''
if python.found()
release_date = run_command(python, ['-c', get_release_date], check: true).stdout()
-@@ -2027,6 +2040,7 @@ if doc_opt.allowed()
+@@ -2050,6 +2063,7 @@ if doc_opt.allowed()
install_man(man_pages)
diff --git a/dns/bind9-devel/pkg-plist b/dns/bind9-devel/pkg-plist
index 03797e7f3e0f..fd71c8fed7a8 100644
--- a/dns/bind9-devel/pkg-plist
+++ b/dns/bind9-devel/pkg-plist
@@ -107,6 +107,7 @@ include/dns/validator.h
include/dns/view.h
include/dns/xfrin.h
include/dns/zone.h
+include/dns/zoneaddr.h
include/dns/zonefetch.h
include/dns/zonemgr.h
include/dns/zoneproperties.h
@@ -175,6 +176,7 @@ include/isc/pause.h
include/isc/portset.h
include/isc/proxy2.h
include/isc/queue.h
+include/isc/quic.h
include/isc/quota.h
include/isc/radix.h
include/isc/random.h
@@ -225,10 +227,12 @@ include/isccc/util.h
include/isccfg/aclconf.h
include/isccfg/cfg.h
include/isccfg/check.h
+include/isccfg/clause.h
include/isccfg/duration.h
include/isccfg/grammar.h
include/isccfg/kaspconf.h
include/isccfg/namedconf.h
+include/isccfg/tokens.h
include/ns/client.h
include/ns/hooks.h
include/ns/interfacemgr.h
@@ -243,11 +247,11 @@ include/ns/xfrout.h
lib/bind/filter-a.so
lib/bind/filter-aaaa.so
lib/bind/synthrecord.so
-lib/libdns-9.21.27.so
-lib/libisc-9.21.27.so
-lib/libisccc-9.21.27.so
-lib/libisccfg-9.21.27.so
-lib/libns-9.21.27.so
+lib/libdns-9.21.28.so
+lib/libisc-9.21.28.so
+lib/libisccc-9.21.28.so
+lib/libisccfg-9.21.28.so
+lib/libns-9.21.28.so
@comment share/man/man1/arpaname.1.gz
@comment share/man/man1/delv.1.gz
@comment share/man/man1/dig.1.gz
This site is maintained by Jamie Landeg-Jones <jamie@catflap.org>, and is not an official FreeBSD project, nor is it endorsed by the FreeBSD team.