From 7e7553a6254f76fb7dc09bc04ab40f73d4f522d5 Mon Sep 17 00:00:00 2001 From: Jason Schonberg Date: Mon, 27 Jan 2025 12:14:07 -0500 Subject: c-ares: upgrade 1.32.3 -> 1.33.0 License-Update: Still MIT licensed. Just removed a header from the license file. https://github.com/c-ares/c-ares/commit/595cf2133488d2e02c6389577a1b511971dba1ba Changelog: https://github.com/c-ares/c-ares/releases/tag/v1.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 Signed-off-by: Jason Schonberg Signed-off-by: Khem Raj --- meta-oe/recipes-support/c-ares/c-ares_1.32.3.bb | 30 ------------------------- meta-oe/recipes-support/c-ares/c-ares_1.33.0.bb | 30 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 meta-oe/recipes-support/c-ares/c-ares_1.32.3.bb create mode 100644 meta-oe/recipes-support/c-ares/c-ares_1.33.0.bb diff --git a/meta-oe/recipes-support/c-ares/c-ares_1.32.3.bb b/meta-oe/recipes-support/c-ares/c-ares_1.32.3.bb deleted file mode 100644 index 8bc22f9970..0000000000 --- a/meta-oe/recipes-support/c-ares/c-ares_1.32.3.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=2047e36c793a8e9c3d3f4b66f8934a19" - -SRC_URI = "https://github.com/c-ares/c-ares/releases/download/v${PV}/${BPN}-${PV}.tar.gz \ - file://run-ptest" -SRC_URI[sha256sum] = "5f02cc809aac3f6cc5edc1fac6c4423fd5616d7406ce47b904c24adf0ff2cd0f" - -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.33.0.bb b/meta-oe/recipes-support/c-ares/c-ares_1.33.0.bb new file mode 100644 index 0000000000..44c5834695 --- /dev/null +++ b/meta-oe/recipes-support/c-ares/c-ares_1.33.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=d3e72a10e08191f2ca1be3f3228d78f3" + +SRC_URI = "https://github.com/c-ares/c-ares/releases/download/v${PV}/${BPN}-${PV}.tar.gz \ + file://run-ptest" +SRC_URI[sha256sum] = "3e41df2f172041eb4ecb754a464c11ccc5046b2a1c8b1d6a40dac45d3a3b2346" + +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