Skip to contentSkip to conversation

c-ares: upgrade 1.28.1 -> 1.29.0

PATCH New Jason Schonberg 1 participant 1 message Jan 7, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 c-ares: upgrade 1.28.1 -> 1.29.0

Changelog : https://github.com/c-ares/c-ares/releases/tag/cares-1_29_0

Features:

When using ARES_OPT_EVENT_THREAD, automatically reload system configuration when network conditions change. PR #759
Apple: reimplement DNS configuration reading to more accurately pull DNS settings. PR #750
Add observability into DNS server health via a server state callback, invoked whenever a query finishes. PR #744
Add server failover retry behavior, where failed servers are retried with small probability after a minimum delay. PR #731

Changes:

Mark ares_channel_t * as const in more places in the public API. PR #758

Bugfixes:

Due to a logic flaw dns name compression writing was not properly implemented which would result in the name prefix not being written for a partial match. This could cause issues in various record types such as MX records when using the deprecated API. Regression introduced in 1.28.0. Issue #757 Revert OpenBSD SOCK_DNS flag, it doesn't do what the docs say it does and causes c-ares to become non-functional. PR #754 ares_getnameinfo(): loosen validation on salen parameter. Issue #752
cmake: Android requires C99. PR #748
ares_queue_wait_empty() does not honor timeout_ms >= 0. Issue #742

---
 .../c-ares/{c-ares_1.28.1.bb => c-ares_1.29.0.bb}           | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-support/c-ares/{c-ares_1.28.1.bb => c-ares_1.29.0.bb} (84%)
meta-oe/recipes-support/c-ares/c-ares_1.29.0.bb renamed from meta-oe/recipes-support/c-ares/c-ares_1.28.1.bb +3 -3
similarity index 84%
rename from meta-oe/recipes-support/c-ares/c-ares_1.28.1.bb
rename to meta-oe/recipes-support/c-ares/c-ares_1.29.0.bb
index bfb46a54b..80a9a1b69 100644
@@ -1,13 +1,13 @@
 # Copyright (c) 2012-2014 LG Electronics, Inc.
 SUMMARY = "c-ares is a C library that resolves names asynchronously."
-HOMEPAGE = "http://daniel.haxx.se/projects/c-ares/"
+HOMEPAGE = "https://c-ares.org/"
 SECTION = "libs"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=fdbc58a6da11a9f68aa73c453818decc"
 
-SRC_URI = "https://github.com/c-ares/c-ares/releases/download/cares-1_28_1/${BPN}-${PV}.tar.gz \
+SRC_URI = "https://github.com/c-ares/c-ares/releases/download/cares-1_29_0/${BPN}-${PV}.tar.gz \
            file://run-ptest"
-SRC_URI[sha256sum] = "675a69fc54ddbf42e6830bc671eeb6cd89eeca43828eb413243fd2c0a760809d"
+SRC_URI[sha256sum] = "0b89fa425b825c4c7bc708494f374ae69340e4d1fdc64523bdbb2750bfc02ea7"
 
 PACKAGECONFIG ?= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
 PACKAGECONFIG[manpages] = ""
Signature · 1 line
2.43.0