From a8518e230aa0e512de3d26691ce7c6b957a73f21 Mon Sep 17 00:00:00 2001 From: Jason Schonberg Date: Tue, 7 Jan 2025 14:48:06 -0500 Subject: [PATCH] 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 Signed-off-by: Jason Schonberg Signed-off-by: Khem Raj --- .../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%) diff --git a/meta-oe/recipes-support/c-ares/c-ares_1.28.1.bb b/meta-oe/recipes-support/c-ares/c-ares_1.29.0.bb 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 bfb46a54bc5..80a9a1b693c 100644 --- a/meta-oe/recipes-support/c-ares/c-ares_1.28.1.bb +++ b/meta-oe/recipes-support/c-ares/c-ares_1.29.0.bb @@ -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] = ""