Skip to content

Commit

Permalink
Update to latest commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
mat813 committed May 17, 2021
1 parent 05ed3e7 commit 98f6df4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions dns/bind9-devel/Makefile
Expand Up @@ -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.12a0.2021.05.07
ISCVERSION= 9.17.12a0.2021.05.17
# XXX: Remove gitlab
USE_GITLAB= yes
GL_SITE= https://gitlab.isc.org
GL_ACCOUNT= isc-projects
GL_PROJECT= bind9
GL_COMMIT= 0e920608334707a7c9ca34c80f9e70db33962305
GL_COMMIT= d34672796cd8506a0c7f996619c5c38cd417c499

CPE_VENDOR= isc
CPE_VERSION= ${ISCVERSION:C/-.*//}
Expand Down
6 changes: 3 additions & 3 deletions dns/bind9-devel/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1620630970
SHA256 (isc-projects-bind9-0e920608334707a7c9ca34c80f9e70db33962305_GL0.tar.gz) = f729bf64580cc54239eb36be5accae83514e9cc08287aa54bfdbee3c02df29db
SIZE (isc-projects-bind9-0e920608334707a7c9ca34c80f9e70db33962305_GL0.tar.gz) = 6427374
TIMESTAMP = 1621239390
SHA256 (isc-projects-bind9-d34672796cd8506a0c7f996619c5c38cd417c499_GL0.tar.gz) = f8bc76fac46590c9410184a396695b1d67a85f3bc1df109df9f5b09f442a7f08
SIZE (isc-projects-bind9-d34672796cd8506a0c7f996619c5c38cd417c499_GL0.tar.gz) = 6430469
14 changes: 7 additions & 7 deletions dns/bind9-devel/files/extrapatch-bind-min-override-ttl
@@ -1,16 +1,16 @@
Add the override-cache-ttl feature.

--- bin/named/config.c.orig 2021-03-22 10:06:45 UTC
--- bin/named/config.c.orig 2021-05-17 07:42:37 UTC
+++ bin/named/config.c
@@ -181,6 +181,7 @@ options {\n\
@@ -185,6 +185,7 @@ options {\n\
notify-source *;\n\
notify-source-v6 *;\n\
nsec3-test-zone no;\n\
+ override-cache-ttl 0; /* do not override */\n\
provide-ixfr true;\n\
qname-minimization relaxed;\n\
query-source address *;\n\
--- bin/named/server.c.orig 2021-03-22 10:06:45 UTC
--- bin/named/server.c.orig 2021-05-17 07:42:37 UTC
+++ bin/named/server.c
@@ -4456,6 +4456,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl
}
Expand All @@ -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 2021-03-22 10:06:45 UTC
--- lib/dns/include/dns/view.h.orig 2021-05-17 07:42:37 UTC
+++ lib/dns/include/dns/view.h
@@ -154,6 +154,7 @@ struct dns_view {
bool requestnsid;
Expand All @@ -34,7 +34,7 @@ Add the override-cache-ttl feature.
dns_ttl_t maxncachettl;
dns_ttl_t mincachettl;
dns_ttl_t minncachettl;
--- lib/dns/resolver.c.orig 2021-03-22 10:06:45 UTC
--- lib/dns/resolver.c.orig 2021-05-17 07:42:37 UTC
+++ lib/dns/resolver.c
@@ -6388,6 +6388,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_mes
}
Expand All @@ -49,9 +49,9 @@ Add the override-cache-ttl feature.
* Enforce the configure maximum cache TTL.
*/
if (rdataset->ttl > res->view->maxcachettl) {
--- lib/isccfg/namedconf.c.orig 2021-03-22 10:06:45 UTC
--- lib/isccfg/namedconf.c.orig 2021-05-17 07:42:37 UTC
+++ lib/isccfg/namedconf.c
@@ -2024,6 +2024,7 @@ static cfg_clausedef_t view_clauses[] = {
@@ -2028,6 +2028,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 },
Expand Down

0 comments on commit 98f6df4

Please sign in to comment.