Skip to content

Commit

Permalink
dns/bind916: update to 9.16.22
Browse files Browse the repository at this point in the history
MFH:		2021Q4
Security:	CVE-2021-25219
  • Loading branch information
mat813 committed Oct 28, 2021
1 parent b9bbd21 commit 43b8454
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion dns/bind916/Makefile
Expand Up @@ -40,7 +40,7 @@ RUN_DEPENDS= bind-tools>0:dns/bind-tools

USES= compiler:c11 cpe libedit pkgconfig ssl tar:xz
# ISC releases things like 9.8.0-P1, which our versioning doesn't like
ISCVERSION= 9.16.21
ISCVERSION= 9.16.22

CPE_VENDOR= isc
CPE_VERSION= ${ISCVERSION:C/-.*//}
Expand Down
6 changes: 3 additions & 3 deletions dns/bind916/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1632745650
SHA256 (bind-9.16.21.tar.xz) = 65da5fd4fb80b7d0d7452876f81fd6d67cdcee54a5e3c1d65610334665dfa815
SIZE (bind-9.16.21.tar.xz) = 5057816
TIMESTAMP = 1635400990
SHA256 (bind-9.16.22.tar.xz) = 65e7b2af6479db346e2fc99bcfb6ec3240066468e09dbec575ebc7c57d994061
SIZE (bind-9.16.22.tar.xz) = 5059000
12 changes: 6 additions & 6 deletions dns/bind916/files/extrapatch-bind-min-override-ttl
@@ -1,6 +1,6 @@
Add the override-cache-ttl feature.

--- bin/named/config.c.orig 2021-09-07 09:37:05 UTC
--- bin/named/config.c.orig 2021-10-13 10:56:16 UTC
+++ bin/named/config.c
@@ -180,6 +180,7 @@ options {\n\
notify-source *;\n\
Expand All @@ -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 2021-09-07 09:37:05 UTC
--- bin/named/server.c.orig 2021-10-13 10:56:16 UTC
+++ bin/named/server.c
@@ -4411,6 +4411,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl
@@ -4413,6 +4413,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl
}

obj = NULL;
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-09-07 09:37:05 UTC
--- lib/dns/include/dns/view.h.orig 2021-10-13 10:56:16 UTC
+++ lib/dns/include/dns/view.h
@@ -152,6 +152,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-09-07 09:37:05 UTC
--- lib/dns/resolver.c.orig 2021-10-13 10:56:16 UTC
+++ lib/dns/resolver.c
@@ -6476,6 +6476,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_mes
}
Expand All @@ -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 2021-09-07 09:37:05 UTC
--- lib/isccfg/namedconf.c.orig 2021-10-13 10:56:16 UTC
+++ lib/isccfg/namedconf.c
@@ -2048,6 +2048,7 @@ static cfg_clausedef_t view_clauses[] = {
#endif /* ifdef HAVE_LMDB */
Expand Down
8 changes: 4 additions & 4 deletions dns/bind916/files/patch-configure
@@ -1,8 +1,8 @@
Fixup gssapi and db detection.

--- configure.orig 2021-06-08 10:45:10 UTC
--- configure.orig 2021-10-13 10:56:16 UTC
+++ configure
@@ -17758,27 +17758,9 @@ done
@@ -17760,27 +17760,9 @@ done
# problems start to show up.
saved_libs="$LIBS"
for TRY_LIBS in \
Expand Down Expand Up @@ -32,7 +32,7 @@ Fixup gssapi and db detection.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking linking as $TRY_LIBS" >&5
$as_echo_n "checking linking as $TRY_LIBS... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -17821,47 +17803,7 @@ $as_echo "no" >&6; } ;;
@@ -17823,47 +17805,7 @@ $as_echo "no" >&6; } ;;
no) as_fn_error $? "could not determine proper GSSAPI linkage" "$LINENO" 5 ;;
esac

Expand Down Expand Up @@ -81,7 +81,7 @@ Fixup gssapi and db detection.
DNS_GSSAPI_LIBS="$LIBS"

{ $as_echo "$as_me:${as_lineno-$LINENO}: result: using GSSAPI from $use_gssapi/lib and $use_gssapi/include" >&5
@@ -23262,7 +23204,7 @@ $as_echo "" >&6; }
@@ -23264,7 +23206,7 @@ $as_echo "" >&6; }
# Check other locations for includes.
# Order is important (sigh).

Expand Down

0 comments on commit 43b8454

Please sign in to comment.