From 7be5024b70a735ff55933afe3471fd4aba9dc179 Mon Sep 17 00:00:00 2001 From: Jason Schonberg Date: Tue, 7 Jan 2025 14:48:06 -0500 Subject: 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 --- meta-oe/recipes-support/c-ares/c-ares_1.28.1.bb | 30 ------------------------- meta-oe/recipes-support/c-ares/c-ares_1.29.0.bb | 30 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 meta-oe/recipes-support/c-ares/c-ares_1.28.1.bb create mode 100644 meta-oe/recipes-support/c-ares/c-ares_1.29.0.bb (limited to 'meta-oe') 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.28.1.bb deleted file mode 100644 index bfb46a54bc..0000000000 --- a/meta-oe/recipes-support/c-ares/c-ares_1.28.1.bb +++ /dev/null @@ -1,30 +0,0 @@ -# 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/" -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 \ - file://run-ptest" -SRC_URI[sha256sum] = "675a69fc54ddbf42e6830bc671eeb6cd89eeca43828eb413243fd2c0a760809d" - -PACKAGECONFIG ?= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" -PACKAGECONFIG[manpages] = "" -PACKAGECONFIG[tests] = "-DCARES_BUILD_TESTS=ON,-DCARES_BUILD_TESTS=OFF,googletest" - -inherit cmake manpages pkgconfig ptest - -EXTRA_OECMAKE = "-DCARES_STATIC=${@ 'ON' if d.getVar('DISABLE_STATIC') == '' else 'OFF' }" - -do_install_ptest () { - install -d ${D}${PTEST_PATH} - install -m 0755 ${B}/bin/arestest ${D}${PTEST_PATH} - install -m 0755 ${UNPACKDIR}/run-ptest ${D}${PTEST_PATH} -} - -PACKAGE_BEFORE_PN = "${PN}-utils" - -FILES:${PN}-utils = "${bindir}" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-oe/recipes-support/c-ares/c-ares_1.29.0.bb b/meta-oe/recipes-support/c-ares/c-ares_1.29.0.bb new file mode 100644 index 0000000000..80a9a1b693 --- /dev/null +++ b/meta-oe/recipes-support/c-ares/c-ares_1.29.0.bb @@ -0,0 +1,30 @@ +# Copyright (c) 2012-2014 LG Electronics, Inc. +SUMMARY = "c-ares is a C library that resolves names asynchronously." +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_29_0/${BPN}-${PV}.tar.gz \ + file://run-ptest" +SRC_URI[sha256sum] = "0b89fa425b825c4c7bc708494f374ae69340e4d1fdc64523bdbb2750bfc02ea7" + +PACKAGECONFIG ?= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" +PACKAGECONFIG[manpages] = "" +PACKAGECONFIG[tests] = "-DCARES_BUILD_TESTS=ON,-DCARES_BUILD_TESTS=OFF,googletest" + +inherit cmake manpages pkgconfig ptest + +EXTRA_OECMAKE = "-DCARES_STATIC=${@ 'ON' if d.getVar('DISABLE_STATIC') == '' else 'OFF' }" + +do_install_ptest () { + install -d ${D}${PTEST_PATH} + install -m 0755 ${B}/bin/arestest ${D}${PTEST_PATH} + install -m 0755 ${UNPACKDIR}/run-ptest ${D}${PTEST_PATH} +} + +PACKAGE_BEFORE_PN = "${PN}-utils" + +FILES:${PN}-utils = "${bindir}" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf