1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Update to latest commit.

This commit is contained in:
Mathieu Arnold 2021-05-17 10:37:58 +02:00
parent 05ed3e73e6
commit 98f6df463f
No known key found for this signature in database
GPG Key ID: 29EB0902911D7E02
3 changed files with 12 additions and 12 deletions

View File

@ -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/-.*//}

View File

@ -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

View File

@ -1,8 +1,8 @@
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\
@ -10,7 +10,7 @@ Add the override-cache-ttl feature.
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
}
@ -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;
@ -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
}
@ -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 },