From 5729f9d357fe344e1b347d25c8c7b06a85cfc1aa Mon Sep 17 00:00:00 2001 From: Peter Adam Korodi <52385411+kp-cat@users.noreply.github.com> Date: Thu, 14 Dec 2023 08:27:11 +0100 Subject: [PATCH] [configcat] Update to version 3.2.0 (#35651) * [configcat] Update to version 3.1.0 * [configcat] Update to version 3.1.0 * [configcat] Update to version 3.1.0 * [configcat] Update to version 3.1.1 * [configcat] Update to version 3.1.1 * [configcat] Update to version 3.2.0 * [configcat] Update to version 3.2.0 --- ports/configcat/portfile.cmake | 8 +++++++- ports/configcat/vcpkg.json | 36 ++++++++++++++++++++++------------ versions/baseline.json | 2 +- versions/c-/configcat.json | 5 +++++ 4 files changed, 36 insertions(+), 15 deletions(-) diff --git a/ports/configcat/portfile.cmake b/ports/configcat/portfile.cmake index 9714cb3a171dd4..f0390f220c7047 100644 --- a/ports/configcat/portfile.cmake +++ b/ports/configcat/portfile.cmake @@ -6,14 +6,20 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO configcat/cpp-sdk REF "v${VERSION}" - SHA512 2d2c456c978babc3223783ec0e08ac7e73294703db4f932da12ce7e4b5163510689c4b996311543fd68acffc613a15a776767b144a4089eb12566a52af8017b7 + SHA512 a71706978b0a4e7b4bce7f194910b75221bc6483d38f7cda9d004abdf41dcdd97aa2754977e641c888065f3aeacd6e7e0893e5de1c9417a3d466a977a1dbb287 HEAD_REF master ) +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS + INVERTED_FEATURES + network CONFIGCAT_USE_EXTERNAL_NETWORK_ADAPTER +) + vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" OPTIONS -DCONFIGCAT_BUILD_TESTS=OFF + ${FEATURE_OPTIONS} ) vcpkg_cmake_install() diff --git a/ports/configcat/vcpkg.json b/ports/configcat/vcpkg.json index 90fa97b2f31189..da1ccd6119749e 100644 --- a/ports/configcat/vcpkg.json +++ b/ports/configcat/vcpkg.json @@ -1,23 +1,12 @@ { "name": "configcat", - "version": "3.1.1", + "version": "3.2.0", "description": "ConfigCat SDK for C++ provides easy integration for your application to ConfigCat. ConfigCat is a feature flag and configuration management service that lets you separate feature releases from deployments. Alternative to LaunchDarkly.", "homepage": "https://configcat.com/", "license": "MIT", "dependencies": [ - { - "name": "curl", - "default-features": false, - "features": [ - "ssl" - ] - }, "hash-library", "nlohmann-json", - { - "name": "openssl", - "platform": "linux" - }, { "name": "vcpkg-cmake", "host": true @@ -27,5 +16,26 @@ "host": true }, "z4kn4fein-semver" - ] + ], + "default-features": [ + "network" + ], + "features": { + "network": { + "description": "Use built-in curl network adapter", + "dependencies": [ + { + "name": "curl", + "default-features": false, + "features": [ + "ssl" + ] + }, + { + "name": "openssl", + "platform": "linux" + } + ] + } + } } diff --git a/versions/baseline.json b/versions/baseline.json index 1d0eb894de1972..b4934c4f53618f 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1761,7 +1761,7 @@ "port-version": 0 }, "configcat": { - "baseline": "3.1.1", + "baseline": "3.2.0", "port-version": 0 }, "console-bridge": { diff --git a/versions/c-/configcat.json b/versions/c-/configcat.json index b78bee82ea433c..09f3e0386d5e94 100644 --- a/versions/c-/configcat.json +++ b/versions/c-/configcat.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "4f1f87e186100760a5a093476a921eb6396b46c7", + "version": "3.2.0", + "port-version": 0 + }, { "git-tree": "278ce6bc975733e7807d36490f0e6d5c5c786ebb", "version": "3.1.1",