c-ares: Update to version 1.34.3
Commit Message
- Update from version 1.32.1 to 1.34.3
- Update of rootfile
- Changelog
1.34.3
Changes:
Build the release package in an automated way so we can provide provenance
as per SLSA3. PR #906
Bugfixes:
Some upstream servers are non-compliant with EDNS options, resend queries
without EDNS. Issue #911
Android: <=7 needs sys/system_properties.h a70637c
Android: CMake needs -D_GNU_SOURCE and others. PR #915
TSAN warns on missing lock, but lock isn’t actually necessary. PR #915
ares_getaddrinfo() for AF_UNSPEC should retry IPv4 if only IPv6 is
received. 765d558
ares_send() shouldn’t return ARES_EBADRESP, its ARES_EBADQUERY. 91519e7
Fix typos in man pages. PR #905
1.34.2
This release contains a fix for downstream packages detecting the c-ares
version based on the contents of the header file rather than the distributed
pkgconf or cmake files.
1.34.1
This release fixes a packaging issue.
1.34.0
Features:
adig: read arguments from adigrc. PR #856
Add new pending write callback optimization via ares_set_pending_write_cb.
PR #857
New function ares_process_fds(). PR #875
Failed servers should be probed rather than redirecting queries which
could cause unexpected latency. PR #877
adig: rework command line arguments to mimic dig from bind. PR #890
Add new method for overriding network functions
ares_set_socket_function_ex() to properly support all new functionality.
PR #894
Fix regression with custom socket callbacks due to DNS cookie support.
PR #895
ares_socket: set IP_BIND_ADDRESS_NO_PORT on ares_set_local_ip* tcp sockets
PR #887
URI parser/writer for ares_set_servers_csv()/ares_get_servers_csv(). PR #882
Changes:
Connection handling modularization. PR #857, PR #876
Expose library/utility functions to tools. PR #860
Remove ares__ prefix, just use ares_ for internal functions. PR #872
Bugfixes:
fix: potential WIN32_LEAN_AND_MEAN redefinition. PR #869
Fix googletest v1.15 compatibility. PR #874
Fix pkgconfig thread dependencies. PR #884
1.33.1
Bugfixes:
Work around systemd-resolved quirk that returns unexpected codes for
single label names. Also adds test cases to validate the work around
works and will continue to work in future releases. PR #863, See Also
systemd/systemd#34101
Fix sysconfig ndots default value, also adds containerized test case to
prevent future regressions. PR #862
Fix blank DNS name returning error code rather than valid record for
commands like: adig -t SOA .. Also adds test case to prevent future
regressions. 9e574af
Fix calculation of query times > 1s. 2b2eae7
Fix building on old Linux releases that don’t have TCP_FASTOPEN_CONNECT.
b7a89b9
Fix minor Android build warnings. PR #848
1.33.0
Features:
Add DNS cookie support (RFC7873 + RFC9018) to help prevent off-path cache
poisoning attacks. PR #833
Implement TCP FastOpen (TFO) RFC7413, which will make TCP reconnects 0-RTT
on supported systems. PR #840
Changes:
Reorganize source tree. PR #822
Refactoring of connection handling to prevent code duplication. PR #839
New dynamic array data structure to prevent simple logic flaws in array
handling in various code paths. PR #841
Bugfixes:
ares_destroy() race condition during shutdown due to missing lock. PR #831
Android: Preserve thread name after attaching it to JVM. PR #838
Windows UWP (Store) support fix. PR #845
1.32.3
Changes:
Prevent complex recursion during query requeuing and connection cleanup
for stability. e8b32b8
Better propagate error codes on requeue situations. a9bc0a2
Try to prevent SIGPIPE from being generated and delivered to integrations.
de01baa
Bugfixes:
Missing manpage for ares_dns_record_set_id() aa462b3
Memory leak in ares__hosts_entry_to_hostent() due to allocation strategy.
PR #824
UDP write failure detected via ICMP unreachable should trigger faster
failover. PR #821
Fix pycares test case regression due to wrong error code being returned.
Regression from 1.31.0. PR #820
Fix possible Windows crash during ares_destroy() when using event threads.
5609bd4
ARES_OPT_MAXTIMEOUTMS wasn’t being honored in all cases. a649c60
1.32.2
Bugfixes:
Windows: rework EventThread AFD code for better stability. PR #811
Windows: If an IP address was detected to have changed, it could lead to a
crash due to a bad pointer. Regression introduced in 1.31.0. 59e3a1f4
Windows: use QueryPerformanceCounters() instead of GetTickCount64() for
better time accuracy (~15ms -> ~1us). 8a50fc6c
Windows 32bit config change callback needs to be tagged as stdcall
otherwise could result in a crash. 5c2bab35
Tests that need accurate timing should not depend on internal symbols as
there are C++ equivalents in std::chrono. PR #809
Kqueue (MacOS, *BSD): If the open socket count exceeded 8 (unlikely), it
would try to allocate a new buffer that was too small. 5aad7981
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
config/rootfiles/packages/c-ares | 9 ++++++++-
lfs/c-ares | 6 +++---
2 files changed, 11 insertions(+), 4 deletions(-)
@@ -7,7 +7,7 @@
#usr/lib/libcares.la
#usr/lib/libcares.so
usr/lib/libcares.so.2
-usr/lib/libcares.so.2.17.1
+usr/lib/libcares.so.2.19.2
#usr/lib/pkgconfig/libcares.pc
#usr/share/man/man3/ares_cancel.3
#usr/share/man/man3/ares_create_query.3
@@ -48,9 +48,11 @@ usr/lib/libcares.so.2.17.1
#usr/share/man/man3/ares_dns_record_rr_del.3
#usr/share/man/man3/ares_dns_record_rr_get.3
#usr/share/man/man3/ares_dns_record_rr_get_const.3
+#usr/share/man/man3/ares_dns_record_set_id.3
#usr/share/man/man3/ares_dns_rr.3
#usr/share/man/man3/ares_dns_rr_add_abin.3
#usr/share/man/man3/ares_dns_rr_del_abin.3
+#usr/share/man/man3/ares_dns_rr_del_opt_byid.3
#usr/share/man/man3/ares_dns_rr_get_abin.3
#usr/share/man/man3/ares_dns_rr_get_abin_cnt.3
#usr/share/man/man3/ares_dns_rr_get_addr.3
@@ -122,6 +124,9 @@ usr/lib/libcares.so.2.17.1
#usr/share/man/man3/ares_parse_txt_reply.3
#usr/share/man/man3/ares_parse_uri_reply.3
#usr/share/man/man3/ares_process.3
+#usr/share/man/man3/ares_process_fd.3
+#usr/share/man/man3/ares_process_fds.3
+#usr/share/man/man3/ares_process_pending_write.3
#usr/share/man/man3/ares_query.3
#usr/share/man/man3/ares_query_dnsrec.3
#usr/share/man/man3/ares_queue.3
@@ -136,6 +141,7 @@ usr/lib/libcares.so.2.17.1
#usr/share/man/man3/ares_set_local_dev.3
#usr/share/man/man3/ares_set_local_ip4.3
#usr/share/man/man3/ares_set_local_ip6.3
+#usr/share/man/man3/ares_set_pending_write_cb.3
#usr/share/man/man3/ares_set_server_state_callback.3
#usr/share/man/man3/ares_set_servers.3
#usr/share/man/man3/ares_set_servers_csv.3
@@ -144,6 +150,7 @@ usr/lib/libcares.so.2.17.1
#usr/share/man/man3/ares_set_socket_callback.3
#usr/share/man/man3/ares_set_socket_configure_callback.3
#usr/share/man/man3/ares_set_socket_functions.3
+#usr/share/man/man3/ares_set_socket_functions_ex.3
#usr/share/man/man3/ares_set_sortlist.3
#usr/share/man/man3/ares_strerror.3
#usr/share/man/man3/ares_svcb_param_t.3
@@ -26,7 +26,7 @@ include Config
SUMMARY = Tools for asynchronous name resolves
-VER = 1.32.1
+VER = 1.34.3
THISAPP = c-ares-$(VER)
DL_FILE = $(THISAPP).tar.gz
@@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = c-ares
-PAK_VER = 3
+PAK_VER = 4
DEPS =
@@ -48,7 +48,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = 662f15e7f1ae39614f0212745fe7883bbf831da667905e4595e011922b37c95b2037423dde96b0a62122a304d6edd04d36e99e428bdbf8f89d6ff9ecb4cfd712
+$(DL_FILE)_BLAKE2 = fb66f4c8ae4c2e03e8f75ee72259dbe83d7bed5e72a7936f785121c3d02267375f67c734bae7213ec48bac9277d48e3bed4225fd03ba69dacd120b97dcc3e421
install : $(TARGET)