diff options
author | Jaap Akkerhuis <jaap@NLnetLabs.nl> | 2023-02-07 13:13:09 +0000 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2023-02-07 15:27:22 +0000 |
commit | b4f7886cf0032d73980c1cb49e9c7beb0da0a92c (patch) | |
tree | f1e93b61ae4519a01e9832eaa38cbf9621c99eba | |
parent | 2ac08014336fbe5ac045aea27bc18a619f79eb6e (diff) | |
download | ports-b4f7886cf0032d73980c1cb49e9c7beb0da0a92c.tar.gz ports-b4f7886cf0032d73980c1cb49e9c7beb0da0a92c.zip |
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)
-rw-r--r-- | dns/unbound/Makefile | 3 | ||||
-rw-r--r-- | dns/unbound/files/patch-contrib_aaaa-filter-iterator.patch | 11 |
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; + } |