git: 2272e34787c3 - main - dns/unbound: fix build with AAAA option ON
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Feb 2023 15:27:33 UTC
The branch main has been updated by fernape:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2272e34787c3e6839841c0e4ea919b569dbb5cfc
commit 2272e34787c3e6839841c0e4ea919b569dbb5cfc
Author: Jaap Akkerhuis <jaap@NLnetLabs.nl>
AuthorDate: 2023-02-07 13:13:09 +0000
Commit: Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-02-07 15:23:14 +0000
dns/unbound: fix build with AAAA option ON
PR: 269337
Reported by: void@f-m.fm
MFH: 2023Q1 (build fix)
---
dns/unbound/Makefile | 2 +-
dns/unbound/files/patch-contrib_aaaa-filter-iterator.patch | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile
index 4059e45a4155..2f8c7b4eefb7 100644
--- a/dns/unbound/Makefile
+++ b/dns/unbound/Makefile
@@ -1,6 +1,6 @@
PORTNAME= unbound
DISTVERSION= 1.17.1
-PORTREVISION= 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;
+ }