Skip to content
Snippets Groups Projects
Verified Commit df038f51 authored by Mathieu Arnold's avatar Mathieu Arnold
Browse files

dns/bind9-devel: update to latest commit

parent fd609678
No related branches found
No related tags found
No related merge requests found
......@@ -49,13 +49,13 @@ RUN_DEPENDS= bind-tools>0:dns/bind-tools
# XXX: remove tar:bz2
USES= autoreconf compiler:c11 cpe libedit libtool pkgconfig ssl tar:bz2
# ISC releases things like 9.8.0-P1, which our versioning doesn't like
ISCVERSION= 9.17.22a0.2022.03.25
ISCVERSION= 9.17.22a0.2022.04.01
# XXX: Remove gitlab
USE_GITLAB= yes
GL_SITE= https://gitlab.isc.org
GL_ACCOUNT= isc-projects
GL_PROJECT= bind9
GL_COMMIT= 23cb022247e414bb99d901ed5de0f8f0bc9b9b90
GL_COMMIT= d4eef9e89a0add9e63a6939c73106125d4b58360
CPE_VENDOR= isc
CPE_VERSION= ${ISCVERSION:C/-.*//}
......
TIMESTAMP = 1648457921
SHA256 (isc-projects-bind9-23cb022247e414bb99d901ed5de0f8f0bc9b9b90_GL0.tar.gz) = 524add3da7991b7987e90d5d6450db0c41dfc8cab087d1c600371caaa26b0f0a
SIZE (isc-projects-bind9-23cb022247e414bb99d901ed5de0f8f0bc9b9b90_GL0.tar.gz) = 6155737
TIMESTAMP = 1649054912
SHA256 (isc-projects-bind9-d4eef9e89a0add9e63a6939c73106125d4b58360_GL0.tar.gz) = ce854ab1d78cd8db7c83c4e3242412d48840fc79e859c7a527d6abbfd45da251
SIZE (isc-projects-bind9-d4eef9e89a0add9e63a6939c73106125d4b58360_GL0.tar.gz) = 6194533
Add the override-cache-ttl feature.
--- bin/named/config.c.orig 2022-03-25 15:13:28 UTC
--- bin/named/config.c.orig 2022-04-01 23:48:26 UTC
+++ bin/named/config.c
@@ -171,6 +171,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 2022-03-25 15:13:28 UTC
--- bin/named/server.c.orig 2022-04-01 23:48:26 UTC
+++ bin/named/server.c
@@ -4484,6 +4484,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl
@@ -4487,6 +4487,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);
--- lib/dns/include/dns/view.h.orig 2022-03-25 15:13:28 UTC
--- lib/dns/include/dns/view.h.orig 2022-04-01 23:48:26 UTC
+++ lib/dns/include/dns/view.h
@@ -155,6 +155,7 @@ struct dns_view {
bool requestnsid;
......@@ -34,9 +34,9 @@ Add the override-cache-ttl feature.
dns_ttl_t maxncachettl;
dns_ttl_t mincachettl;
dns_ttl_t minncachettl;
--- lib/dns/resolver.c.orig 2022-03-25 15:13:28 UTC
--- lib/dns/resolver.c.orig 2022-04-01 23:48:26 UTC
+++ lib/dns/resolver.c
@@ -6126,6 +6126,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_mes
@@ -6113,6 +6113,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_mes
}
/*
......@@ -49,7 +49,7 @@ Add the override-cache-ttl feature.
* Enforce the configure maximum cache TTL.
*/
if (rdataset->ttl > res->view->maxcachettl) {
--- lib/isccfg/namedconf.c.orig 2022-03-25 15:13:28 UTC
--- lib/isccfg/namedconf.c.orig 2022-04-01 23:48:26 UTC
+++ lib/isccfg/namedconf.c
@@ -2092,6 +2092,7 @@ static cfg_clausedef_t view_clauses[] = {
#endif /* ifdef HAVE_LMDB */
......
......@@ -173,7 +173,6 @@ include/isc/offset.h
include/isc/once.h
include/isc/os.h
include/isc/parseint.h
include/isc/pool.h
include/isc/portset.h
include/isc/print.h
include/isc/quota.h
......@@ -200,7 +199,6 @@ include/isc/string.h
include/isc/symtab.h
include/isc/syslog.h
include/isc/task.h
include/isc/taskpool.h
include/isc/thread.h
include/isc/time.h
include/isc/timer.h
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment