1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

dns/bind918: update to 9.18.32

Changes:	https://downloads.isc.org/isc/bind9/9.18.32/doc/arm/html/notes.html
This commit is contained in:
Mathieu Arnold 2024-12-14 11:31:03 +01:00
parent 6846c249ac
commit 0688678808
5 changed files with 23 additions and 24 deletions

View File

@ -1,7 +1,7 @@
# pkg-help formatted with fmt 59 63
PORTNAME= bind
DISTVERSION= 9.18.30
DISTVERSION= 9.18.32
PORTREVISION= 0
CATEGORIES= dns net
MASTER_SITES= ISC/bind9/${DISTVERSION}
@ -181,8 +181,7 @@ post-install:
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/arm
${INSTALL_DATA} ${WRKSRC}/CHANGES* \
${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc/arm/_build/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/arm
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1726753765
SHA256 (bind-9.18.30.tar.xz) = 9f6817640970267317e5aa143ecf70531040f2155636b1a63ea45379aa09034a
SIZE (bind-9.18.30.tar.xz) = 5569784
TIMESTAMP = 1734171277
SHA256 (bind-9.18.32.tar.xz) = dc840cdf9d54578d98400f2edf7008b1b33a1721be6e490eb1e42d0d11d9cff4
SIZE (bind-9.18.32.tar.xz) = 5332480

View File

@ -1,6 +1,6 @@
Add the override-cache-ttl feature.
--- bin/named/config.c.orig 2024-08-13 14:20:17 UTC
--- bin/named/config.c.orig 2024-12-03 13:00:51 UTC
+++ bin/named/config.c
@@ -185,6 +185,7 @@ options {\n\
notify-source *;\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 2024-08-13 14:20:17 UTC
--- bin/named/server.c.orig 2024-12-03 13:00:51 UTC
+++ bin/named/server.c
@@ -4664,6 +4664,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl
@@ -4663,6 +4663,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl
}
obj = NULL;
@ -24,7 +24,7 @@ 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 2024-08-13 14:20:18 UTC
--- doc/arm/reference.rst.orig 2024-12-03 13:00:51 UTC
+++ doc/arm/reference.rst
@@ -4388,6 +4388,10 @@ Tuning
cannot exceed 7 days and is silently truncated to 7 days if set to a
@ -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 2024-08-13 14:20:18 UTC
--- lib/dns/include/dns/view.h.orig 2024-12-03 13:00:51 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 2024-08-13 14:20:18 UTC
--- lib/dns/resolver.c.orig 2024-12-03 13:00:51 UTC
+++ lib/dns/resolver.c
@@ -6297,6 +6297,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_mes
@@ -6306,6 +6306,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_mes
}
/*
@ -62,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 2024-08-13 14:20:18 UTC
--- lib/isccfg/namedconf.c.orig 2024-12-03 13:00:51 UTC
+++ lib/isccfg/namedconf.c
@@ -2100,6 +2100,7 @@ static cfg_clausedef_t view_clauses[] = {
@@ -2105,6 +2105,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 },

View File

@ -1,8 +1,8 @@
We reference the pid file as being run/named/pid everywere else.
--- bin/named/include/named/globals.h.orig 2023-01-12 22:21:15 UTC
--- bin/named/include/named/globals.h.orig 2024-12-03 13:00:51 UTC
+++ bin/named/include/named/globals.h
@@ -132,7 +132,7 @@ EXTERN bool named_g_forcelock INIT(false);
@@ -130,7 +130,7 @@ EXTERN bool named_g_forcelock INIT(false);
#if NAMED_RUN_PID_DIR
EXTERN const char *named_g_defaultpidfile INIT(NAMED_LOCALSTATEDIR "/run/named/"

View File

@ -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.30.so
lib/libbind9-9.18.32.so
lib/libdns.so
lib/libdns-9.18.30.so
lib/libdns-9.18.32.so
lib/libirs.so
lib/libirs-9.18.30.so
lib/libirs-9.18.32.so
lib/libisc.so
lib/libisc-9.18.30.so
lib/libisc-9.18.32.so
lib/libisccc.so
lib/libisccc-9.18.30.so
lib/libisccc-9.18.32.so
lib/libisccfg.so
lib/libisccfg-9.18.30.so
lib/libisccfg-9.18.32.so
lib/libns.so
lib/libns-9.18.30.so
lib/libns-9.18.32.so
@comment share/man/man1/arpaname.1.gz
@comment share/man/man1/delv.1.gz
@comment share/man/man1/dig.1.gz