summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorJaap Akkerhuis <jaap@NLnetLabs.nl>2023-02-07 14:13:09 +0100
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2023-02-07 16:27:22 +0100
commitb4f7886cf0032d73980c1cb49e9c7beb0da0a92c (patch)
treef1e93b61ae4519a01e9832eaa38cbf9621c99eba /dns
parentsysutils/cbsd: Update to 13.1.22 (diff)
dns/unbound: fix build with AAAA option ON
PR: 269337 Reported by: void@f-m.fm MFH: 2023Q1 (build fix) (cherry picked from commit 2272e34787c3e6839841c0e4ea919b569dbb5cfc)
Diffstat (limited to 'dns')
-rw-r--r--dns/unbound/Makefile3
-rw-r--r--dns/unbound/files/patch-contrib_aaaa-filter-iterator.patch11
2 files changed, 13 insertions, 1 deletions
diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile
index 99733d2cd3c6..65c928650e36 100644
--- a/dns/unbound/Makefile
+++ b/dns/unbound/Makefile
@@ -1,5 +1,6 @@
PORTNAME= unbound
-DISTVERSION= 1.17.0
+DISTVERSION= 1.17.1
+PORTREVISION= 2
CATEGORIES= dns
MASTER_SITES= https://www.nlnetlabs.nl/downloads/unbound/
diff --git a/dns/unbound/files/patch-contrib_aaaa-filter-iterator.patch b/dns/unbound/files/patch-contrib_aaaa-filter-iterator.patch
new file mode 100644
index 000000000000..a885d2269e0b
--- /dev/null
+++ b/dns/unbound/files/patch-contrib_aaaa-filter-iterator.patch
@@ -0,0 +1,11 @@
+--- contrib/aaaa-filter-iterator.patch.orig 2023-02-06 14:22:58 UTC
++++ contrib/aaaa-filter-iterator.patch
+@@ -108,6 +108,8 @@ index 2482a1f4..bd5ba243 100644
+ iter_env->supports_ipv6 = cfg->do_ip6;
+ iter_env->supports_ipv4 = cfg->do_ip4;
+ iter_env->outbound_msg_retry = cfg->outbound_msg_retry;
++ iter_env->max_sent_count = cfg->max_sent_count;
++ iter_env->max_query_restarts = cfg->max_query_restarts;
+ + iter_env->aaaa_filter = cfg->aaaa_filter;
+ return 1;
+ }