From 3ac46979df51da3b58eccf1e037ff6be53e022a3 Mon Sep 17 00:00:00 2001 From: Jason Schonberg Date: Sun, 13 Apr 2025 22:15:43 -0400 Subject: c-ares: upgrade 1.34.2 -> 1.34.3 Changelog: https://github.com/c-ares/c-ares/releases/tag/v1.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 Signed-off-by: Jason Schonberg Signed-off-by: Khem Raj (cherry picked from commit d8eaa791dd9836a3bcba7590d208e8bdea9ef5b0) Signed-off-by: Armin Kuster --- meta-oe/recipes-support/c-ares/c-ares_1.34.2.bb | 30 ------------------------- meta-oe/recipes-support/c-ares/c-ares_1.34.3.bb | 30 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 meta-oe/recipes-support/c-ares/c-ares_1.34.2.bb create mode 100644 meta-oe/recipes-support/c-ares/c-ares_1.34.3.bb diff --git a/meta-oe/recipes-support/c-ares/c-ares_1.34.2.bb b/meta-oe/recipes-support/c-ares/c-ares_1.34.2.bb deleted file mode 100644 index 21a0e37e6c..0000000000 --- a/meta-oe/recipes-support/c-ares/c-ares_1.34.2.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 = "https://c-ares.org/" -SECTION = "libs" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.md;md5=d3e72a10e08191f2ca1be3f3228d78f3" - -SRC_URI = "https://github.com/c-ares/c-ares/releases/download/v${PV}/${BPN}-${PV}.tar.gz \ - file://run-ptest" -SRC_URI[sha256sum] = "35410aa625cc9ee95b66475f54aea7c81c673fb63d75fad5eee267711503b72a" - -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.34.3.bb b/meta-oe/recipes-support/c-ares/c-ares_1.34.3.bb new file mode 100644 index 0000000000..c02bdbcc5c --- /dev/null +++ b/meta-oe/recipes-support/c-ares/c-ares_1.34.3.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=d3e72a10e08191f2ca1be3f3228d78f3" + +SRC_URI = "https://github.com/c-ares/c-ares/releases/download/v${PV}/${BPN}-${PV}.tar.gz \ + file://run-ptest" +SRC_URI[sha256sum] = "26e1f7771da23e42a18fdf1e58912a396629e53a2ac71b130af93bbcfb90adbe" + +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