From e60adb3597bed4f0076c6782ec20de4ef6036b99 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 23 Jun 2025 15:11:12 +0800 Subject: libcpr: upgrade 1.11.0 -> 1.12.0 Changelog: =============== - Updated supported versions for 1.11.0 - Add FreeBSD package/port mention into README - Fixed grammatical issues and corrected spelling errors in README.md - Refactored timeout.h: added template ctr and removed redundant ctrs - fix no-revoke. - Resolve CURLOPT_SSL_OPTIONS issues - fix: remove duplicate call in Session::prepareCommonDownload() - Update To The Latest Clang-Tidy Version - Enhance: Use unordered_map for CURL error mapping - Public cpr::Session::GetSharedPtrFromThis - Replace ubuntu:22.04 and ubuntu:23.04 with ubuntu:latest - [BUG] Fix cpr::ssl:KeyBlob: Copy blob to curl - Added handling no_proxy override through Proxies - fix: let bad-host-tests pass when there is DNS error redirection - Removed 1.9.x from the supported versions - Replaced the secureStringClear mechanism with a SecureString class - Clang-Tidy And cppcheck Fixes - Getter function for Session::header_ to enable the user to read back all headers set and delete select ones - Status code int32_t -> long - Fix windows static library build parameter in CMakeLists.txt - Fix Seg-fault when setting proxy username + password - Add Session::RemoveContent() - Cookie expires date is now only 100 days in the future - add curl's ANY and ANSAFE authorization options - Fixed memory leak in threadpool - Add enforced HTTP/3 - Update README.md to add Bazel extension instructions - feat: Use CMAKE_MSVC_RUNTIME_LIBRARY for runtime selection in MSVC - Update CMakeLists.txt project version for 1.11.2 release - Add std::to_string functionality for ErrorCode to ease human meaningful logging - Make cpr::async and HTTP (Get, Post, Put, etc.) callbacks cancelable - Refactor AsyncWrapper to make it safer - Do Not Check For Sanitizers If They Are Not Enabled - Fix usage for TLS v1.3 cipher - Changed LowSpeed to use std::chrono - Better OpenSSL headers include based on headers version. - Ensure cpr::LowSpeed properties are cased to long for curl - Implemented cpr::BodyView. - Add primary_ip primary_port to Response - Bump stefanzweifel/git-auto-commit-action from 5 to 6 - Load all certs in a CaBuffer - WIP CURL 8.13 Support Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-support/libcpr/libcpr_1.11.0.bb | 23 ---------------------- .../recipes-support/libcpr/libcpr_1.12.0.bb | 23 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 meta-networking/recipes-support/libcpr/libcpr_1.11.0.bb create mode 100644 meta-networking/recipes-support/libcpr/libcpr_1.12.0.bb (limited to 'meta-networking') diff --git a/meta-networking/recipes-support/libcpr/libcpr_1.11.0.bb b/meta-networking/recipes-support/libcpr/libcpr_1.11.0.bb deleted file mode 100644 index 03cd877901..0000000000 --- a/meta-networking/recipes-support/libcpr/libcpr_1.11.0.bb +++ /dev/null @@ -1,23 +0,0 @@ -SUMMARY = "Curl for People - C++ Requests" -DESCRIPTION = "Curl for People C++ Requests is a simple wrapper around \ - libcurl inspired by the excellent Python Requests project." -HOMEPAGE = "https://docs.libcpr.org/" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=08beaae5deae1c43c065592da8f38095" - -DEPENDS = "curl openssl" - -SRC_URI = "git://github.com/libcpr/cpr.git;protocol=https;branch=1.11.x" -SRCREV = "bb01c8db702fb41e5497aee9c0559ddf4bf13749" - - -inherit cmake - -# building tests is currently using FetchContent for mongoose -EXTRA_OECMAKE += "\ - -DCPR_USE_SYSTEM_CURL=ON \ - -DCPR_BUILD_TESTS=OFF \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-networking/recipes-support/libcpr/libcpr_1.12.0.bb b/meta-networking/recipes-support/libcpr/libcpr_1.12.0.bb new file mode 100644 index 0000000000..58da899081 --- /dev/null +++ b/meta-networking/recipes-support/libcpr/libcpr_1.12.0.bb @@ -0,0 +1,23 @@ +SUMMARY = "Curl for People - C++ Requests" +DESCRIPTION = "Curl for People C++ Requests is a simple wrapper around \ + libcurl inspired by the excellent Python Requests project." +HOMEPAGE = "https://docs.libcpr.org/" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=08beaae5deae1c43c065592da8f38095" + +DEPENDS = "curl openssl" + +SRC_URI = "git://github.com/libcpr/cpr.git;protocol=https;branch=master" +SRCREV = "da40186618909b1a7363d4e4495aa899c6e0eb75" + + +inherit cmake + +# building tests is currently using FetchContent for mongoose +EXTRA_OECMAKE += "\ + -DCPR_USE_SYSTEM_CURL=ON \ + -DCPR_BUILD_TESTS=OFF \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf