From d1375438133e97deca80a869afe7636dea587885 Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Mon, 23 Feb 2026 05:21:43 +0100 Subject: [PATCH 01/15] [curl] 8.19.0 rc2 --- ports/curl/dependencies.patch | 130 +++++++++++++--------------------- ports/curl/portfile.cmake | 5 +- ports/curl/vcpkg.json | 3 +- ports/curl/winsock.diff | 13 ---- versions/baseline.json | 4 +- versions/c-/curl.json | 5 ++ 6 files changed, 58 insertions(+), 102 deletions(-) delete mode 100644 ports/curl/winsock.diff diff --git a/ports/curl/dependencies.patch b/ports/curl/dependencies.patch index dc006126544cb1..e3740c7633588c 100644 --- a/ports/curl/dependencies.patch +++ b/ports/curl/dependencies.patch @@ -1,10 +1,10 @@ diff --git a/CMake/FindBrotli.cmake b/CMake/FindBrotli.cmake -index 981b30cafd..e7bfbca0b2 100644 +index b5437e7525..14dbbb9d3f 100644 --- a/CMake/FindBrotli.cmake +++ b/CMake/FindBrotli.cmake -@@ -50,6 +50,17 @@ if(_brotli_FOUND) - set(BROTLI_FOUND TRUE) - set(BROTLI_VERSION ${_brotli_libbrotlicommon_VERSION}) +@@ -57,6 +57,17 @@ if(_brotli_FOUND) + set(_brotli_LIBRARIES "${_brotli_STATIC_LIBRARIES}") + endif() message(STATUS "Found Brotli (via pkg-config): ${_brotli_INCLUDE_DIRS} (found version \"${BROTLI_VERSION}\")") + find_package(_brotli_cmake NAMES unofficial-brotli) + if(TARGET unofficial::brotli::brotlidec AND NOT TARGET CURL::brotli) @@ -19,14 +19,14 @@ index 981b30cafd..e7bfbca0b2 100644 + set(BROTLI_FOUND FALSE) else() find_path(BROTLI_INCLUDE_DIR "brotli/decode.h") - find_library(BROTLICOMMON_LIBRARY NAMES "brotlicommon") + if(BROTLI_USE_STATIC_LIBS) diff --git a/CMake/FindCares.cmake b/CMake/FindCares.cmake -index 4a20bc0af4..fcb113e0a7 100644 +index 3c05c3b2eb..b9f022cdd4 100644 --- a/CMake/FindCares.cmake +++ b/CMake/FindCares.cmake -@@ -48,6 +48,17 @@ if(_cares_FOUND) - set(CARES_FOUND TRUE) - set(CARES_VERSION ${_cares_VERSION}) +@@ -55,6 +55,17 @@ if(_cares_FOUND) + set(_cares_LIBRARIES "${_cares_STATIC_LIBRARIES}") + endif() message(STATUS "Found Cares (via pkg-config): ${_cares_INCLUDE_DIRS} (found version \"${CARES_VERSION}\")") + find_package(_cares_cmake NAMES c-ares) + if(TARGET c-ares::cares AND NOT TARGET CURL::cares) @@ -41,9 +41,9 @@ index 4a20bc0af4..fcb113e0a7 100644 + set(CARES_FOUND FALSE) else() find_path(CARES_INCLUDE_DIR NAMES "ares.h") - find_library(CARES_LIBRARY NAMES ${CARES_NAMES} "cares") + if(CARES_USE_STATIC_LIBS) diff --git a/CMake/FindGSS.cmake b/CMake/FindGSS.cmake -index 106c4c4edd..a027983929 100644 +index e36f75bf9c..c4c7c4ad81 100644 --- a/CMake/FindGSS.cmake +++ b/CMake/FindGSS.cmake @@ -269,7 +269,6 @@ if(GSS_FOUND) @@ -142,12 +142,12 @@ index 853ba63ad0..a9d24d9b3a 100644 endif() endif() diff --git a/CMake/FindLibssh2.cmake b/CMake/FindLibssh2.cmake -index 330611bfe5..94b5567c0e 100644 +index abed471eb2..f07bb0226b 100644 --- a/CMake/FindLibssh2.cmake +++ b/CMake/FindLibssh2.cmake -@@ -48,6 +48,17 @@ if(_libssh2_FOUND AND _libssh2_INCLUDE_DIRS) - set(LIBSSH2_FOUND TRUE) - set(LIBSSH2_VERSION ${_libssh2_VERSION}) +@@ -55,6 +55,17 @@ if(_libssh2_FOUND AND _libssh2_INCLUDE_DIRS) + set(_libssh2_LIBRARIES "${_libssh2_STATIC_LIBRARIES}") + endif() message(STATUS "Found Libssh2 (via pkg-config): ${_libssh2_INCLUDE_DIRS} (found version \"${LIBSSH2_VERSION}\")") + find_package(_libssh2_cmake NAMES libssh2) + if(TARGET libssh2::libssh2 AND NOT TARGET CURL::libssh2) @@ -162,14 +162,14 @@ index 330611bfe5..94b5567c0e 100644 + set(LIBSSH2_FOUND FALSE) else() find_path(LIBSSH2_INCLUDE_DIR NAMES "libssh2.h") - find_library(LIBSSH2_LIBRARY NAMES "ssh2" "libssh2") + if(LIBSSH2_USE_STATIC_LIBS) diff --git a/CMake/FindMbedTLS.cmake b/CMake/FindMbedTLS.cmake -index 97201ab2b3..794460b0af 100644 +index 8b67ce9acf..f3c984079a 100644 --- a/CMake/FindMbedTLS.cmake +++ b/CMake/FindMbedTLS.cmake -@@ -58,6 +58,17 @@ if(_mbedtls_FOUND) - set(MBEDTLS_FOUND TRUE) - set(MBEDTLS_VERSION ${_mbedtls_mbedtls_VERSION}) +@@ -65,6 +65,17 @@ if(_mbedtls_FOUND) + set(_mbedtls_LIBRARIES "${_mbedtls_STATIC_LIBRARIES}") + endif() message(STATUS "Found MbedTLS (via pkg-config): ${_mbedtls_INCLUDE_DIRS} (found version \"${MBEDTLS_VERSION}\")") + find_package(_mbedtls_cmake NAMES MbedTLS) + if(TARGET MbedTLS::mbedtls AND NOT TARGET CURL::mbedtls) @@ -186,10 +186,10 @@ index 97201ab2b3..794460b0af 100644 set(_mbedtls_pc_requires "") # Depend on pkg-config only when found via pkg-config diff --git a/CMake/FindNGHTTP2.cmake b/CMake/FindNGHTTP2.cmake -index 8304345a38..e66c3f40fa 100644 +index b2a8c97ccd..8b3a1c72d3 100644 --- a/CMake/FindNGHTTP2.cmake +++ b/CMake/FindNGHTTP2.cmake -@@ -89,7 +89,6 @@ if(NGHTTP2_FOUND) +@@ -101,7 +101,6 @@ if(NGHTTP2_FOUND) INTERFACE_LIBCURL_PC_MODULES "${_nghttp2_pc_requires}" INTERFACE_COMPILE_OPTIONS "${_nghttp2_CFLAGS}" INTERFACE_INCLUDE_DIRECTORIES "${_nghttp2_INCLUDE_DIRS}" @@ -199,12 +199,12 @@ index 8304345a38..e66c3f40fa 100644 endif() endif() diff --git a/CMake/FindNGHTTP3.cmake b/CMake/FindNGHTTP3.cmake -index 37ebfe1114..1aedcd983c 100644 +index 57550bffaf..b9bd85e43b 100644 --- a/CMake/FindNGHTTP3.cmake +++ b/CMake/FindNGHTTP3.cmake -@@ -47,6 +47,16 @@ if(_nghttp3_FOUND) - set(NGHTTP3_FOUND TRUE) - set(NGHTTP3_VERSION ${_nghttp3_VERSION}) +@@ -54,6 +54,16 @@ if(_nghttp3_FOUND) + set(_nghttp3_LIBRARIES "${_nghttp3_STATIC_LIBRARIES}") + endif() message(STATUS "Found NGHTTP3 (via pkg-config): ${_nghttp3_INCLUDE_DIRS} (found version \"${NGHTTP3_VERSION}\")") + find_package(_nghttp3_cmake NAMES nghttp3) + if((TARGET nghttp3::nghttp3 OR TARGET nghttp3::nghttp3_static) AND NOT TARGET CURL::nghttp3) @@ -218,14 +218,14 @@ index 37ebfe1114..1aedcd983c 100644 + set(NGHTTP3_FOUND FALSE) else() find_path(NGHTTP3_INCLUDE_DIR NAMES "nghttp3/nghttp3.h") - find_library(NGHTTP3_LIBRARY NAMES "nghttp3") + if(NGHTTP3_USE_STATIC_LIBS) diff --git a/CMake/FindNGTCP2.cmake b/CMake/FindNGTCP2.cmake -index 416ea459f6..13010958be 100644 +index 615ee4a3c2..c2b0fd2e4d 100644 --- a/CMake/FindNGTCP2.cmake +++ b/CMake/FindNGTCP2.cmake -@@ -85,6 +85,24 @@ if(_ngtcp2_FOUND) - set(NGTCP2_FOUND TRUE) - set(NGTCP2_VERSION ${_ngtcp2_libngtcp2_VERSION}) +@@ -92,6 +92,24 @@ if(_ngtcp2_FOUND) + set(_ngtcp2_LIBRARIES "${_ngtcp2_STATIC_LIBRARIES}") + endif() message(STATUS "Found NGTCP2 (via pkg-config): ${_ngtcp2_INCLUDE_DIRS} (found version \"${NGTCP2_VERSION}\")") + find_package(_ngtcp2_cmake NAMES ngtcp2) + set(_ngtcp2_cmake_target ngtcp2::ngtcp2) @@ -247,7 +247,7 @@ index 416ea459f6..13010958be 100644 + set(NGTCP2_FOUND FALSE) else() find_path(NGTCP2_INCLUDE_DIR NAMES "ngtcp2/ngtcp2.h") - find_library(NGTCP2_LIBRARY NAMES "ngtcp2") + if(NGTCP2_USE_STATIC_LIBS) diff --git a/CMake/FindNettle.cmake b/CMake/FindNettle.cmake index d22865ffad..049265bc8b 100644 --- a/CMake/FindNettle.cmake @@ -284,12 +284,12 @@ index 3a3c05f0fd..4c1b832898 100644 find_path(WOLFSSL_INCLUDE_DIR NAMES "wolfssl/ssl.h") find_library(WOLFSSL_LIBRARY NAMES "wolfssl") diff --git a/CMake/FindZstd.cmake b/CMake/FindZstd.cmake -index 954a827b6f..f3bf53dab5 100644 +index baf6148f0d..c75cfdf47e 100644 --- a/CMake/FindZstd.cmake +++ b/CMake/FindZstd.cmake -@@ -57,6 +57,17 @@ if(_zstd_FOUND) - set(ZSTD_FOUND TRUE) - set(ZSTD_VERSION ${_zstd_VERSION}) +@@ -64,6 +64,17 @@ if(_zstd_FOUND) + set(_zstd_LIBRARIES "${_zstd_STATIC_LIBRARIES}") + endif() message(STATUS "Found Zstd (via pkg-config): ${_zstd_INCLUDE_DIRS} (found version \"${ZSTD_VERSION}\")") + find_package(_zstd_cmake NAMES zstd) + if(TARGET zstd::libzstd AND NOT TARGET CURL::zstd) @@ -304,12 +304,12 @@ index 954a827b6f..f3bf53dab5 100644 + set(ZSTD_FOUND TRUE) else() find_path(ZSTD_INCLUDE_DIR NAMES "zstd.h") - find_library(ZSTD_LIBRARY NAMES "zstd") + if(ZSTD_USE_STATIC_LIBS) diff --git a/CMake/curl-config.in.cmake b/CMake/curl-config.in.cmake -index 7f346c832c..083fddbc04 100644 +index f4e17d29b3..45947ec6c9 100644 --- a/CMake/curl-config.in.cmake +++ b/CMake/curl-config.in.cmake -@@ -50,74 +50,50 @@ set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR} ${CMAKE_MODULE_PATH}) +@@ -62,74 +62,50 @@ set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR} ${CMAKE_MODULE_PATH}) set(_curl_libs "") if("@HAVE_BROTLI@") @@ -390,7 +390,7 @@ index 7f346c832c..083fddbc04 100644 endif() if("@USE_QUICHE@") find_dependency(Quiche) -@@ -128,12 +104,10 @@ if("@USE_RUSTLS@") +@@ -140,12 +116,10 @@ if("@USE_RUSTLS@") list(APPEND _curl_libs CURL::rustls) endif() if("@USE_WOLFSSL@") @@ -405,7 +405,7 @@ index 7f346c832c..083fddbc04 100644 endif() set(CMAKE_MODULE_PATH ${_curl_cmake_module_path_save}) -@@ -177,7 +151,11 @@ endif() +@@ -190,7 +164,11 @@ endif() # For compatibility with CMake's FindCURL.cmake set(CURL_VERSION_STRING "@CURLVERSION@") set(CURL_LIBRARIES @PROJECT_NAME@::@LIB_NAME@) @@ -419,44 +419,10 @@ index 7f346c832c..083fddbc04 100644 set(CURL_SUPPORTED_PROTOCOLS "@CURL_SUPPORTED_PROTOCOLS_LIST@") diff --git a/CMakeLists.txt b/CMakeLists.txt -index 43ec013508..0111a00bde 100644 +index 154ba5ef8f..6f6907f565 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -755,6 +755,12 @@ if(CURL_USE_OPENSSL) - # get our dependencies transitively. - list(APPEND CURL_LIBS OpenSSL::SSL OpenSSL::Crypto) - set_target_properties(OpenSSL::SSL PROPERTIES INTERFACE_LIBCURL_PC_MODULES "openssl") -+ find_package(PkgConfig QUIET) -+ pkg_check_modules(_openssl openssl REQUIRED) -+ set_target_properties(OpenSSL::SSL PROPERTIES INTERFACE_LIBCURL_PC_LINK_LIBRARIES "${_openssl_LINK_LIBRARIES}") -+ set_target_properties(OpenSSL::Crypto PROPERTIES INTERFACE_LIBCURL_PC_MODULES "libcrypto") -+ pkg_check_modules(_crypto libcrypto REQUIRED) -+ set_target_properties(OpenSSL::Crypto PROPERTIES INTERFACE_LIBCURL_PC_LINK_LIBRARIES "${_crypto_LINK_LIBRARIES}") - - if(CURL_DEFAULT_SSL_BACKEND AND CURL_DEFAULT_SSL_BACKEND STREQUAL "openssl") - set(_valid_default_ssl_backend TRUE) -@@ -895,6 +901,9 @@ if(ZLIB_FOUND) - # get our dependencies transitively. - list(APPEND CURL_LIBS ZLIB::ZLIB) - set_target_properties(ZLIB::ZLIB PROPERTIES INTERFACE_LIBCURL_PC_MODULES "zlib") -+ find_package(PkgConfig QUIET) -+ pkg_check_modules(_zlib zlib) -+ set_target_properties(ZLIB::ZLIB PROPERTIES INTERFACE_LIBCURL_PC_LINK_LIBRARIES "${_zlib_LINK_LIBRARIES}") - endif() - - set(HAVE_BROTLI OFF) -@@ -1802,9 +1811,7 @@ endif() - if(CMAKE_C_COMPILER_ID STREQUAL "GNU") - foreach(_lib IN ITEMS OpenSSL::Crypto ZLIB::ZLIB) - if(TARGET "${_lib}") -- add_library(CURL::${_lib} INTERFACE IMPORTED) -- get_target_property(_libname "${_lib}" LOCATION) -- set_target_properties(${_lib} PROPERTIES INTERFACE_LINK_LIBRARIES "${_libname}") -+ list(REMOVE_ITEM CURL_LIBS ${_lib}) - list(APPEND CURL_LIBS ${_lib}) - endif() - endforeach() -@@ -1815,6 +1822,44 @@ if(CMAKE_C_COMPILER_ID STREQUAL "GNU") +@@ -1853,6 +1853,44 @@ if(CMAKE_C_COMPILER_ID STREQUAL "GNU") endif() endif() @@ -501,7 +467,7 @@ index 43ec013508..0111a00bde 100644 if(CMAKE_C_COMPILER_ID STREQUAL "MSVC") # MSVC but exclude clang-cl set_property(DIRECTORY APPEND PROPERTY COMPILE_OPTIONS "-MP") # Parallel compilation endif() -@@ -2107,7 +2152,7 @@ if(NOT CURL_DISABLE_INSTALL) +@@ -2144,7 +2182,7 @@ if(NOT CURL_DISABLE_INSTALL) set(_explicit_libdirs "") set(LIBCURL_PC_REQUIRES_PRIVATE "") set(LIBCURL_PC_LIBS_PRIVATE_LIST "") @@ -510,8 +476,8 @@ index 43ec013508..0111a00bde 100644 if(TARGET "${_lib}") set(_explicit_libs "") get_target_property(_imported "${_lib}" IMPORTED) -@@ -2141,8 +2186,15 @@ if(NOT CURL_DISABLE_INSTALL) - get_target_property(_modules "${_lib}" INTERFACE_LIBCURL_PC_MODULES) +@@ -2184,8 +2222,15 @@ if(NOT CURL_DISABLE_INSTALL) + endif() if(_modules) list(APPEND LIBCURL_PC_REQUIRES_PRIVATE "${_modules}") + get_target_property(_link_libs "${_lib}" INTERFACE_LIBCURL_PC_LINK_LIBRARIES) @@ -526,7 +492,7 @@ index 43ec013508..0111a00bde 100644 foreach(_lib IN LISTS _explicit_libs) if(_lib MATCHES "/") # This gets a bit more complex, because we want to specify the -@@ -2163,22 +2215,41 @@ if(NOT CURL_DISABLE_INSTALL) +@@ -2206,22 +2251,41 @@ if(NOT CURL_DISABLE_INSTALL) list(APPEND _ldflags "-L${_libdir}") endif() string(REGEX REPLACE "^lib" "" _libname "${_libname}") @@ -568,7 +534,7 @@ index 43ec013508..0111a00bde 100644 list(APPEND LIBCURL_PC_LIBS_PRIVATE_LIST "${_lib}") endif() endforeach() -@@ -2202,6 +2273,7 @@ if(NOT CURL_DISABLE_INSTALL) +@@ -2245,6 +2309,7 @@ if(NOT CURL_DISABLE_INSTALL) if(LIBCURL_PC_LIBS_PRIVATE) string(REPLACE ";" " " LIBCURL_PC_LIBS_PRIVATE "${LIBCURL_PC_LIBS_PRIVATE}") endif() diff --git a/ports/curl/portfile.cmake b/ports/curl/portfile.cmake index 4cd5508188f10b..10a1d2e580e935 100644 --- a/ports/curl/portfile.cmake +++ b/ports/curl/portfile.cmake @@ -1,14 +1,13 @@ -string(REPLACE "." "_" curl_version "curl-${VERSION}") +string(REPLACE "." "_" curl_version "rc-${VERSION}-2") vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO curl/curl REF ${curl_version} - SHA512 1dca42354d29b9326a3e9be34c74433c3a7364318d69519e2f5b9a164e81db739d3ef1eed79e3313296fe72af73281e0fc61e57a21e9dede1ef240c8fa6af4fe + SHA512 56c8a195fac684fc4143ca2281f01e778bf804fb368ef1b9d1780f15da62858593a52ca2971d06f100f07e35ee6bcb5d2dd98605fa6878674e883a9ccfa7a815 HEAD_REF master PATCHES dependencies.patch - winsock.diff ) # The on-the-fly tarballs do not carry the details of release tarballs. vcpkg_replace_string("${SOURCE_PATH}/include/curl/curlver.h" [[-DEV"]] [["]]) diff --git a/ports/curl/vcpkg.json b/ports/curl/vcpkg.json index 8a5a9188c69020..d1c11fb0adebda 100644 --- a/ports/curl/vcpkg.json +++ b/ports/curl/vcpkg.json @@ -1,7 +1,6 @@ { "name": "curl", - "version": "8.18.0", - "port-version": 1, + "version": "8.19.0", "description": "A library for transferring data with URLs", "homepage": "https://curl.se/", "license": "curl AND ISC AND BSD-3-Clause", diff --git a/ports/curl/winsock.diff b/ports/curl/winsock.diff deleted file mode 100644 index b6596ea3c4bba2..00000000000000 --- a/ports/curl/winsock.diff +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/CMake/curl-config.in.cmake b/CMake/curl-config.in.cmake -index 7f346c832c..ef2a64cc91 100644 ---- a/CMake/curl-config.in.cmake -+++ b/CMake/curl-config.in.cmake -@@ -138,7 +138,7 @@ endif() - - set(CMAKE_MODULE_PATH ${_curl_cmake_module_path_save}) - --if(CMAKE_C_COMPILER_ID STREQUAL "GNU" AND WIN32 AND NOT TARGET CURL::win32_winsock) -+if(WIN32 AND NOT TARGET CURL::win32_winsock) - add_library(CURL::win32_winsock INTERFACE IMPORTED) - set_target_properties(CURL::win32_winsock PROPERTIES INTERFACE_LINK_LIBRARIES "ws2_32") - endif() diff --git a/versions/baseline.json b/versions/baseline.json index 231a51f6f57d0c..5d3da5f7f759f1 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2281,8 +2281,8 @@ "port-version": 8 }, "curl": { - "baseline": "8.18.0", - "port-version": 1 + "baseline": "8.19.0", + "port-version": 0 }, "curlcpp": { "baseline": "3.1", diff --git a/versions/c-/curl.json b/versions/c-/curl.json index 66560d5373ffbf..7e26c8eccbd2f4 100644 --- a/versions/c-/curl.json +++ b/versions/c-/curl.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "12ed6e689e89ec6b4cb560247ed69368555be51d", + "version": "8.19.0", + "port-version": 0 + }, { "git-tree": "6f60b9a4e17664b88fc87f7abe8ea4949abac959", "version": "8.18.0", From 493aa82c3f30c5f4aae51cae0a17cef73e309e26 Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Sat, 28 Feb 2026 06:07:31 +0100 Subject: [PATCH 02/15] rc3 --- ports/curl/portfile.cmake | 4 ++-- versions/c-/curl.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ports/curl/portfile.cmake b/ports/curl/portfile.cmake index 10a1d2e580e935..6d2e750060f32f 100644 --- a/ports/curl/portfile.cmake +++ b/ports/curl/portfile.cmake @@ -1,10 +1,10 @@ -string(REPLACE "." "_" curl_version "rc-${VERSION}-2") +string(REPLACE "." "_" curl_version "rc-${VERSION}-3") vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO curl/curl REF ${curl_version} - SHA512 56c8a195fac684fc4143ca2281f01e778bf804fb368ef1b9d1780f15da62858593a52ca2971d06f100f07e35ee6bcb5d2dd98605fa6878674e883a9ccfa7a815 + SHA512 6e7f0f2a1a206f03c1203353fcb2e886acd4c492a63c5800b0dffdb037512793b1d2f315e7640a100d5052464cd7456be7add3d934258e7b58ba238b7315782e HEAD_REF master PATCHES dependencies.patch diff --git a/versions/c-/curl.json b/versions/c-/curl.json index 7e26c8eccbd2f4..fc71c9314aba33 100644 --- a/versions/c-/curl.json +++ b/versions/c-/curl.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "12ed6e689e89ec6b4cb560247ed69368555be51d", + "git-tree": "d14410309aed202a6f06b5e3ec322b58b06cefe4", "version": "8.19.0", "port-version": 0 }, From 064032289b8eb4509ce4695eac0cdd750544fe9f Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Mon, 9 Mar 2026 06:49:56 +0100 Subject: [PATCH 03/15] Trace --- scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt b/scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt index 32286e601bc978..9f737d0176fb3a 100644 --- a/scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt +++ b/scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt @@ -42,3 +42,10 @@ if(NOT CMAKE_HOST_WIN32) target_link_libraries(main-curl-config PRIVATE ${curl-config-libs}) endif() endblock() + +list(GET CMAKE_PREFIX_PATH 0 prefix) +file(GLOB pc_files "${prefix}/lib/pkgconfig/*pc") +foreach(file IN LISTS pc_files) + file(READ "${file}" pc_data) + message(STATUS "\n### ${file} ###\n\n${pc_data}\n") +endforeach() From dde29830d3f255906c8a50a9337a8e9384f9b4a1 Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Tue, 10 Mar 2026 06:09:01 +0100 Subject: [PATCH 04/15] [wolfssl] Fix arm32 android --- ports/wolfssl/have-limits-h.diff | 27 +++++++++++++++++++++++++++ ports/wolfssl/portfile.cmake | 3 ++- ports/wolfssl/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/w-/wolfssl.json | 5 +++++ 5 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 ports/wolfssl/have-limits-h.diff diff --git a/ports/wolfssl/have-limits-h.diff b/ports/wolfssl/have-limits-h.diff new file mode 100644 index 00000000000000..14d1ff2737d340 --- /dev/null +++ b/ports/wolfssl/have-limits-h.diff @@ -0,0 +1,27 @@ +diff --git a/cmake/config.in b/cmake/config.in +index f2524e4..6054b6d 100644 +--- a/cmake/config.in ++++ b/cmake/config.in +@@ -19,9 +19,6 @@ + /* Define to 1 if you have the `gmtime_r' function. */ + #cmakedefine HAVE_GMTIME_R @HAVE_GMTIME_R@ + +-/* Define to 1 if you have the header file. */ +-#cmakedefine HAVE_LIMITS_H @HAVE_LIMITS_H@ +- + /* Define to 1 if you have the header file. */ + #cmakedefine HAVE_PCAP_PCAP_H @HAVE_PCAP_PCAP_H@ + +diff --git a/cmake/options.h.in b/cmake/options.h.in +index 7446b1b..615cc9b 100644 +--- a/cmake/options.h.in ++++ b/cmake/options.h.in +@@ -122,6 +122,8 @@ extern "C" { + #cmakedefine HAVE_KEYING_MATERIAL + #undef HAVE_LIBOQS + #cmakedefine HAVE_LIBOQS ++#undef HAVE_LIMITS_H ++#cmakedefine HAVE_LIMITS_H @HAVE_LIMITS_H@ + #undef HAVE_MAX_FRAGMENT + #cmakedefine HAVE_MAX_FRAGMENT + #undef HAVE_OCSP diff --git a/ports/wolfssl/portfile.cmake b/ports/wolfssl/portfile.cmake index d43ed8acf786f0..58934c2abc5cf8 100644 --- a/ports/wolfssl/portfile.cmake +++ b/ports/wolfssl/portfile.cmake @@ -5,7 +5,8 @@ vcpkg_from_github( SHA512 6f191c218b270bd4dc90d6f07a80416e6bc8d049f3f49ea84c38a2af40ae9588a4fe306860fbb8696c5af15c4ca359818e3955069389d33269eee0101c270439 HEAD_REF master PATCHES - ) + have-limits-h.diff +) if ("asio" IN_LIST FEATURES) set(ENABLE_ASIO yes) diff --git a/ports/wolfssl/vcpkg.json b/ports/wolfssl/vcpkg.json index 6991cce827932e..284773ca82463b 100644 --- a/ports/wolfssl/vcpkg.json +++ b/ports/wolfssl/vcpkg.json @@ -1,7 +1,7 @@ { "name": "wolfssl", "version": "5.8.4", - "port-version": 1, + "port-version": 2, "description": "TLS and Cryptographic library for many platforms", "homepage": "https://wolfssl.com", "license": "GPL-3.0-or-later", diff --git a/versions/baseline.json b/versions/baseline.json index e60a75e42fb894..03387b9ae45cfe 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -10730,7 +10730,7 @@ }, "wolfssl": { "baseline": "5.8.4", - "port-version": 1 + "port-version": 2 }, "wolftpm": { "baseline": "3.10.0", diff --git a/versions/w-/wolfssl.json b/versions/w-/wolfssl.json index da5786e6fc7660..efd001fb839117 100644 --- a/versions/w-/wolfssl.json +++ b/versions/w-/wolfssl.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "4bf11023b3b64a5202cfba5a2f129f8368a6ae69", + "version": "5.8.4", + "port-version": 2 + }, { "git-tree": "20f0274c9dd43541ec99a3678ce958a7f1009841", "version": "5.8.4", From fdb171d450b4f05a6fc35a5e5bbf5e18ec252da0 Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Tue, 10 Mar 2026 19:01:31 +0100 Subject: [PATCH 05/15] Trace [skip actions] --- ports/spatialite-tools/portfile.cmake | 7 +++++++ scripts/test_ports/vcpkg-ci-curl/portfile.cmake | 7 +++++++ scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt | 7 ------- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/ports/spatialite-tools/portfile.cmake b/ports/spatialite-tools/portfile.cmake index fd06cd1f4a42be..434391ecb6762b 100644 --- a/ports/spatialite-tools/portfile.cmake +++ b/ports/spatialite-tools/portfile.cmake @@ -1,3 +1,10 @@ +file(GLOB pc_files "${VCPKG_INSTALLED_DIR}/lib/pkgconfig/*pc") +foreach(file IN LISTS pc_files) + file(READ "${file}" pc_data) + cmake_path(GET file FILENAME file) + message(STATUS "${file} --\n\n${pc_data}\n") +endforeach() + # only executables set(VCPKG_BUILD_TYPE release) set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled) diff --git a/scripts/test_ports/vcpkg-ci-curl/portfile.cmake b/scripts/test_ports/vcpkg-ci-curl/portfile.cmake index d935b1bf64bd54..fb09dde582e6d7 100644 --- a/scripts/test_ports/vcpkg-ci-curl/portfile.cmake +++ b/scripts/test_ports/vcpkg-ci-curl/portfile.cmake @@ -1,3 +1,10 @@ +file(GLOB pc_files "${CURRENT_INSTALLED_DIR}/lib/pkgconfig/*pc") +foreach(file IN LISTS pc_files) + file(READ "${file}" pc_data) + cmake_path(GET file FILENAME file) + message(STATUS "${file} --\n\n${pc_data}\n") +endforeach() + set(VCPKG_POLICY_EMPTY_PACKAGE enabled) vcpkg_find_acquire_program(PKGCONFIG) diff --git a/scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt b/scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt index 9f737d0176fb3a..32286e601bc978 100644 --- a/scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt +++ b/scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt @@ -42,10 +42,3 @@ if(NOT CMAKE_HOST_WIN32) target_link_libraries(main-curl-config PRIVATE ${curl-config-libs}) endif() endblock() - -list(GET CMAKE_PREFIX_PATH 0 prefix) -file(GLOB pc_files "${prefix}/lib/pkgconfig/*pc") -foreach(file IN LISTS pc_files) - file(READ "${file}" pc_data) - message(STATUS "\n### ${file} ###\n\n${pc_data}\n") -endforeach() From cf23ba3fb121ee9ead8a8b4428bd0de06b7d4847 Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Wed, 11 Mar 2026 03:17:59 +0100 Subject: [PATCH 06/15] Trace [skip actions] --- ports/curl/portfile.cmake | 2 ++ scripts/azure-pipelines/azure-pipelines.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ports/curl/portfile.cmake b/ports/curl/portfile.cmake index 6d2e750060f32f..e71626d4fbd896 100644 --- a/ports/curl/portfile.cmake +++ b/ports/curl/portfile.cmake @@ -87,6 +87,7 @@ vcpkg_cmake_configure( -DSHARE_LIB_OBJECT=OFF -DCURL_USE_PKGCONFIG=ON -DCMAKE_DISABLE_FIND_PACKAGE_Perl=ON + --trace-expand MAYBE_UNUSED_VARIABLES PKG_CONFIG_EXECUTABLE ) @@ -153,3 +154,4 @@ vcpkg_install_copyright( "${SOURCE_PATH}/COPYING" "${inet_ntop_copyright}" ) +message(FATAL_ERROR STOP) diff --git a/scripts/azure-pipelines/azure-pipelines.yml b/scripts/azure-pipelines/azure-pipelines.yml index 9cb825f53ff42e..140ecbda12b76f 100644 --- a/scripts/azure-pipelines/azure-pipelines.yml +++ b/scripts/azure-pipelines/azure-pipelines.yml @@ -17,7 +17,7 @@ parameters: - name: tripletPattern displayName: 'Enable triplets which contain this substring (^ matches begin, $ matches end)' type: string - default: '^' + default: '^x64-windows-static-md' jobs: - template: windows/azure-pipelines.yml From 1e21c4f414f2ad34957df6d5bb9bc8d1de564231 Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Wed, 11 Mar 2026 03:46:24 +0100 Subject: [PATCH 07/15] Fixup [skip actions] --- ports/curl/dependencies.patch | 9 ++++++--- ports/curl/portfile.cmake | 1 - 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ports/curl/dependencies.patch b/ports/curl/dependencies.patch index e3740c7633588c..96020a608f2d1f 100644 --- a/ports/curl/dependencies.patch +++ b/ports/curl/dependencies.patch @@ -419,7 +419,7 @@ index f4e17d29b3..45947ec6c9 100644 set(CURL_SUPPORTED_PROTOCOLS "@CURL_SUPPORTED_PROTOCOLS_LIST@") diff --git a/CMakeLists.txt b/CMakeLists.txt -index 154ba5ef8f..6f6907f565 100644 +index 154ba5ef8f..316ad603a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1853,6 +1853,44 @@ if(CMAKE_C_COMPILER_ID STREQUAL "GNU") @@ -492,10 +492,13 @@ index 154ba5ef8f..6f6907f565 100644 foreach(_lib IN LISTS _explicit_libs) if(_lib MATCHES "/") # This gets a bit more complex, because we want to specify the -@@ -2206,22 +2251,41 @@ if(NOT CURL_DISABLE_INSTALL) +@@ -2205,23 +2250,44 @@ if(NOT CURL_DISABLE_INSTALL) + if(_libdir_index LESS 0) list(APPEND _ldflags "-L${_libdir}") endif() ++ if(CMAKE_STATIC_LIBRARY_PREFIX STREQUAL "lib") string(REGEX REPLACE "^lib" "" _libname "${_libname}") ++ endif() + list(REMOVE_ITEM CURL_CONFIG_LIBS "-l${_libname}") list(APPEND LIBCURL_PC_LIBS_PRIVATE "-l${_libname}") + list(REMOVE_ITEM LIBCURL_PC_LIBS_PRIVATE_LIST "${_lib}") @@ -534,7 +537,7 @@ index 154ba5ef8f..6f6907f565 100644 list(APPEND LIBCURL_PC_LIBS_PRIVATE_LIST "${_lib}") endif() endforeach() -@@ -2245,6 +2309,7 @@ if(NOT CURL_DISABLE_INSTALL) +@@ -2245,6 +2311,7 @@ if(NOT CURL_DISABLE_INSTALL) if(LIBCURL_PC_LIBS_PRIVATE) string(REPLACE ";" " " LIBCURL_PC_LIBS_PRIVATE "${LIBCURL_PC_LIBS_PRIVATE}") endif() diff --git a/ports/curl/portfile.cmake b/ports/curl/portfile.cmake index e71626d4fbd896..1dea8fe60716a1 100644 --- a/ports/curl/portfile.cmake +++ b/ports/curl/portfile.cmake @@ -154,4 +154,3 @@ vcpkg_install_copyright( "${SOURCE_PATH}/COPYING" "${inet_ntop_copyright}" ) -message(FATAL_ERROR STOP) From 36212c9dbfc4e21c92e09b439f9f9e039a4d6d26 Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Wed, 11 Mar 2026 06:51:10 +0100 Subject: [PATCH 08/15] WIP --- ports/curl/dependencies.patch | 50 +++++++++++++++++------------------ ports/curl/portfile.cmake | 5 ++-- 2 files changed, 27 insertions(+), 28 deletions(-) diff --git a/ports/curl/dependencies.patch b/ports/curl/dependencies.patch index 96020a608f2d1f..40611a28b79367 100644 --- a/ports/curl/dependencies.patch +++ b/ports/curl/dependencies.patch @@ -313,99 +313,99 @@ index f4e17d29b3..45947ec6c9 100644 set(_curl_libs "") if("@HAVE_BROTLI@") -- find_dependency(Brotli) +- find_dependency(Brotli MODULE) - list(APPEND _curl_libs CURL::brotli) + find_dependency(unofficial-brotli CONFIG) endif() if("@USE_ARES@") -- find_dependency(Cares) +- find_dependency(Cares MODULE) - list(APPEND _curl_libs CURL::cares) + find_dependency(c-ares CONFIG) endif() if("@HAVE_GSSAPI@") -- find_dependency(GSS) +- find_dependency(GSS MODULE) - list(APPEND _curl_libs CURL::gss) endif() if("@USE_BACKTRACE@") - find_dependency(Libbacktrace) + find_dependency(Libbacktrace MODULE) list(APPEND _curl_libs CURL::libbacktrace) endif() if("@USE_GSASL@") -- find_dependency(Libgsasl) +- find_dependency(Libgsasl MODULE) - list(APPEND _curl_libs CURL::libgsasl) endif() if(NOT "@USE_WIN32_LDAP@" AND NOT "@CURL_DISABLE_LDAP@") -- find_dependency(LDAP) +- find_dependency(LDAP MODULE) - list(APPEND _curl_libs CURL::ldap) endif() if("@HAVE_LIBIDN2@") -- find_dependency(Libidn2) +- find_dependency(Libidn2 MODULE) - list(APPEND _curl_libs CURL::libidn2) endif() if("@USE_LIBPSL@") -- find_dependency(Libpsl) +- find_dependency(Libpsl MODULE) - list(APPEND _curl_libs CURL::libpsl) endif() if("@USE_LIBRTMP@") -- find_dependency(Librtmp) +- find_dependency(Librtmp MODULE) - list(APPEND _curl_libs CURL::librtmp) endif() if("@USE_LIBSSH@") - find_dependency(Libssh) + find_dependency(Libssh MODULE) list(APPEND _curl_libs CURL::libssh) endif() if("@USE_LIBSSH2@") -- find_dependency(Libssh2) +- find_dependency(Libssh2 MODULE) - list(APPEND _curl_libs CURL::libssh2) + find_dependency(libssh2 CONFIG) endif() if("@USE_LIBUV@") - find_dependency(Libuv) + find_dependency(Libuv MODULE) list(APPEND _curl_libs CURL::libuv) endif() if("@USE_MBEDTLS@") -- find_dependency(MbedTLS) +- find_dependency(MbedTLS MODULE) - list(APPEND _curl_libs CURL::mbedtls) + find_dependency(MbedTLS CONFIG) endif() if("@USE_NGHTTP2@") -- find_dependency(NGHTTP2) +- find_dependency(NGHTTP2 MODULE) - list(APPEND _curl_libs CURL::nghttp2) endif() if("@USE_NGHTTP3@") -- find_dependency(NGHTTP3) +- find_dependency(NGHTTP3 MODULE) - list(APPEND _curl_libs CURL::nghttp3) + find_dependency(nghttp3 CONFIG) endif() if("@USE_NGTCP2@") -- find_dependency(NGTCP2) +- find_dependency(NGTCP2 MODULE) - list(APPEND _curl_libs CURL::ngtcp2) + find_dependency(ngtcp2 CONFIG) endif() if("@USE_GNUTLS@") -- find_dependency(GnuTLS) +- find_dependency(GnuTLS MODULE) - list(APPEND _curl_libs CURL::gnutls) -- find_dependency(Nettle) +- find_dependency(Nettle MODULE) - list(APPEND _curl_libs CURL::nettle) endif() if("@USE_QUICHE@") - find_dependency(Quiche) + find_dependency(Quiche MODULE) @@ -140,12 +116,10 @@ if("@USE_RUSTLS@") list(APPEND _curl_libs CURL::rustls) endif() if("@USE_WOLFSSL@") -- find_dependency(WolfSSL) +- find_dependency(WolfSSL MODULE) - list(APPEND _curl_libs CURL::wolfssl) + find_dependency(wolfssl CONFIG) endif() if("@HAVE_ZSTD@") -- find_dependency(Zstd) +- find_dependency(Zstd MODULE) - list(APPEND _curl_libs CURL::zstd) + find_dependency(zstd CONFIG) endif() set(CMAKE_MODULE_PATH ${_curl_cmake_module_path_save}) -@@ -190,7 +164,11 @@ endif() +@@ -192,7 +166,11 @@ endif() # For compatibility with CMake's FindCURL.cmake set(CURL_VERSION_STRING "@CURLVERSION@") set(CURL_LIBRARIES @PROJECT_NAME@::@LIB_NAME@) @@ -492,8 +492,8 @@ index 154ba5ef8f..316ad603a9 100644 foreach(_lib IN LISTS _explicit_libs) if(_lib MATCHES "/") # This gets a bit more complex, because we want to specify the -@@ -2205,23 +2250,44 @@ if(NOT CURL_DISABLE_INSTALL) - if(_libdir_index LESS 0) +@@ -2204,23 +2249,44 @@ if(NOT CURL_DISABLE_INSTALL) + if(NOT _libdir IN_LIST _sys_libdirs) list(APPEND _ldflags "-L${_libdir}") endif() + if(CMAKE_STATIC_LIBRARY_PREFIX STREQUAL "lib") @@ -537,7 +537,7 @@ index 154ba5ef8f..316ad603a9 100644 list(APPEND LIBCURL_PC_LIBS_PRIVATE_LIST "${_lib}") endif() endforeach() -@@ -2245,6 +2311,7 @@ if(NOT CURL_DISABLE_INSTALL) +@@ -2243,6 +2309,7 @@ if(NOT CURL_DISABLE_INSTALL) if(LIBCURL_PC_LIBS_PRIVATE) string(REPLACE ";" " " LIBCURL_PC_LIBS_PRIVATE "${LIBCURL_PC_LIBS_PRIVATE}") endif() diff --git a/ports/curl/portfile.cmake b/ports/curl/portfile.cmake index 1dea8fe60716a1..18d8fea3b4153a 100644 --- a/ports/curl/portfile.cmake +++ b/ports/curl/portfile.cmake @@ -1,10 +1,10 @@ -string(REPLACE "." "_" curl_version "rc-${VERSION}-3") +string(REPLACE "." "_" curl_version "18e8c9f4557614782ed4dc332fe290eb164cc573") vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO curl/curl REF ${curl_version} - SHA512 6e7f0f2a1a206f03c1203353fcb2e886acd4c492a63c5800b0dffdb037512793b1d2f315e7640a100d5052464cd7456be7add3d934258e7b58ba238b7315782e + SHA512 a078489043f2f3a8b9233a406e0a2a7bbcfa56b5b7ead002fbb70bd68efe02b598cd0166ab70c446a1ec75ee46bd5e39be746ab39ef49fc8c6f8a09316e8b64a HEAD_REF master PATCHES dependencies.patch @@ -87,7 +87,6 @@ vcpkg_cmake_configure( -DSHARE_LIB_OBJECT=OFF -DCURL_USE_PKGCONFIG=ON -DCMAKE_DISABLE_FIND_PACKAGE_Perl=ON - --trace-expand MAYBE_UNUSED_VARIABLES PKG_CONFIG_EXECUTABLE ) From accc5d0043a0f8897d291abd7ea369b2a0018974 Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Wed, 11 Mar 2026 06:51:28 +0100 Subject: [PATCH 09/15] Revert "Trace [skip actions]" This reverts commit fdb171d450b4f05a6fc35a5e5bbf5e18ec252da0. --- ports/spatialite-tools/portfile.cmake | 7 ------- scripts/test_ports/vcpkg-ci-curl/portfile.cmake | 7 ------- scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt | 7 +++++++ 3 files changed, 7 insertions(+), 14 deletions(-) diff --git a/ports/spatialite-tools/portfile.cmake b/ports/spatialite-tools/portfile.cmake index 434391ecb6762b..fd06cd1f4a42be 100644 --- a/ports/spatialite-tools/portfile.cmake +++ b/ports/spatialite-tools/portfile.cmake @@ -1,10 +1,3 @@ -file(GLOB pc_files "${VCPKG_INSTALLED_DIR}/lib/pkgconfig/*pc") -foreach(file IN LISTS pc_files) - file(READ "${file}" pc_data) - cmake_path(GET file FILENAME file) - message(STATUS "${file} --\n\n${pc_data}\n") -endforeach() - # only executables set(VCPKG_BUILD_TYPE release) set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled) diff --git a/scripts/test_ports/vcpkg-ci-curl/portfile.cmake b/scripts/test_ports/vcpkg-ci-curl/portfile.cmake index fb09dde582e6d7..d935b1bf64bd54 100644 --- a/scripts/test_ports/vcpkg-ci-curl/portfile.cmake +++ b/scripts/test_ports/vcpkg-ci-curl/portfile.cmake @@ -1,10 +1,3 @@ -file(GLOB pc_files "${CURRENT_INSTALLED_DIR}/lib/pkgconfig/*pc") -foreach(file IN LISTS pc_files) - file(READ "${file}" pc_data) - cmake_path(GET file FILENAME file) - message(STATUS "${file} --\n\n${pc_data}\n") -endforeach() - set(VCPKG_POLICY_EMPTY_PACKAGE enabled) vcpkg_find_acquire_program(PKGCONFIG) diff --git a/scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt b/scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt index 32286e601bc978..9f737d0176fb3a 100644 --- a/scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt +++ b/scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt @@ -42,3 +42,10 @@ if(NOT CMAKE_HOST_WIN32) target_link_libraries(main-curl-config PRIVATE ${curl-config-libs}) endif() endblock() + +list(GET CMAKE_PREFIX_PATH 0 prefix) +file(GLOB pc_files "${prefix}/lib/pkgconfig/*pc") +foreach(file IN LISTS pc_files) + file(READ "${file}" pc_data) + message(STATUS "\n### ${file} ###\n\n${pc_data}\n") +endforeach() From 52c7e028b39c282e4067de2746be1659fa97ebf6 Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Wed, 11 Mar 2026 06:53:31 +0100 Subject: [PATCH 10/15] WIP --- scripts/azure-pipelines/azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/azure-pipelines/azure-pipelines.yml b/scripts/azure-pipelines/azure-pipelines.yml index 140ecbda12b76f..9cb825f53ff42e 100644 --- a/scripts/azure-pipelines/azure-pipelines.yml +++ b/scripts/azure-pipelines/azure-pipelines.yml @@ -17,7 +17,7 @@ parameters: - name: tripletPattern displayName: 'Enable triplets which contain this substring (^ matches begin, $ matches end)' type: string - default: '^x64-windows-static-md' + default: '^' jobs: - template: windows/azure-pipelines.yml From 8340cf532d8ccc24ac011530fce773b21daf24d3 Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Wed, 11 Mar 2026 12:25:35 +0100 Subject: [PATCH 11/15] Finish --- ports/curl/portfile.cmake | 4 ++-- versions/c-/curl.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ports/curl/portfile.cmake b/ports/curl/portfile.cmake index 18d8fea3b4153a..3685f236e14ed1 100644 --- a/ports/curl/portfile.cmake +++ b/ports/curl/portfile.cmake @@ -1,10 +1,10 @@ -string(REPLACE "." "_" curl_version "18e8c9f4557614782ed4dc332fe290eb164cc573") +string(REPLACE "." "_" curl_version "curl-${VERSION}") vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO curl/curl REF ${curl_version} - SHA512 a078489043f2f3a8b9233a406e0a2a7bbcfa56b5b7ead002fbb70bd68efe02b598cd0166ab70c446a1ec75ee46bd5e39be746ab39ef49fc8c6f8a09316e8b64a + SHA512 1ce097d400da48e038f64e637ed338ab5873b2a961b1837b615ef890e530fd711fe44d47527eecbc3652e67e09bed2bb81bb2045b8e0f5b5137236e74b458f96 HEAD_REF master PATCHES dependencies.patch diff --git a/versions/c-/curl.json b/versions/c-/curl.json index fc71c9314aba33..b3431f5b5f7122 100644 --- a/versions/c-/curl.json +++ b/versions/c-/curl.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "d14410309aed202a6f06b5e3ec322b58b06cefe4", + "git-tree": "10aca2ef8314cca73cdc75ab3c1e281664752f35", "version": "8.19.0", "port-version": 0 }, From 0d9f4792e04926cde103ba00d8690470f66de859 Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Wed, 11 Mar 2026 12:32:33 +0100 Subject: [PATCH 12/15] Remove tracing --- scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt b/scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt index 9f737d0176fb3a..32286e601bc978 100644 --- a/scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt +++ b/scripts/test_ports/vcpkg-ci-curl/project/CMakeLists.txt @@ -42,10 +42,3 @@ if(NOT CMAKE_HOST_WIN32) target_link_libraries(main-curl-config PRIVATE ${curl-config-libs}) endif() endblock() - -list(GET CMAKE_PREFIX_PATH 0 prefix) -file(GLOB pc_files "${prefix}/lib/pkgconfig/*pc") -foreach(file IN LISTS pc_files) - file(READ "${file}" pc_data) - message(STATUS "\n### ${file} ###\n\n${pc_data}\n") -endforeach() From 361b46b62377b511db3c9ca5d6216b4d2b6c731c Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Wed, 11 Mar 2026 20:26:40 +0100 Subject: [PATCH 13/15] Trace --- scripts/azure-pipelines/azure-pipelines.yml | 2 +- scripts/test_ports/vcpkg-ci-curl/portfile.cmake | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/azure-pipelines/azure-pipelines.yml b/scripts/azure-pipelines/azure-pipelines.yml index 9cb825f53ff42e..a891319146b962 100644 --- a/scripts/azure-pipelines/azure-pipelines.yml +++ b/scripts/azure-pipelines/azure-pipelines.yml @@ -17,7 +17,7 @@ parameters: - name: tripletPattern displayName: 'Enable triplets which contain this substring (^ matches begin, $ matches end)' type: string - default: '^' + default: '^arm64-osx' jobs: - template: windows/azure-pipelines.yml diff --git a/scripts/test_ports/vcpkg-ci-curl/portfile.cmake b/scripts/test_ports/vcpkg-ci-curl/portfile.cmake index d935b1bf64bd54..d876d08efc1e34 100644 --- a/scripts/test_ports/vcpkg-ci-curl/portfile.cmake +++ b/scripts/test_ports/vcpkg-ci-curl/portfile.cmake @@ -5,6 +5,8 @@ set(ENV{PKG_CONFIG} "${PKGCONFIG}") vcpkg_cmake_configure( SOURCE_PATH "${CURRENT_PORT_DIR}/project" + OPTIONS + --trace-expand OPTIONS_RELEASE "-DCURL_CONFIG=${CURRENT_INSTALLED_DIR}/tools/curl/bin/curl-config" OPTIONS_DEBUG From c7e1d77db55a57e005b6114cc9a0bc1f7c5cf0ab Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Thu, 12 Mar 2026 01:27:48 +0100 Subject: [PATCH 14/15] Revert "Trace" This reverts commit 361b46b62377b511db3c9ca5d6216b4d2b6c731c. --- scripts/azure-pipelines/azure-pipelines.yml | 2 +- scripts/test_ports/vcpkg-ci-curl/portfile.cmake | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/azure-pipelines/azure-pipelines.yml b/scripts/azure-pipelines/azure-pipelines.yml index a891319146b962..9cb825f53ff42e 100644 --- a/scripts/azure-pipelines/azure-pipelines.yml +++ b/scripts/azure-pipelines/azure-pipelines.yml @@ -17,7 +17,7 @@ parameters: - name: tripletPattern displayName: 'Enable triplets which contain this substring (^ matches begin, $ matches end)' type: string - default: '^arm64-osx' + default: '^' jobs: - template: windows/azure-pipelines.yml diff --git a/scripts/test_ports/vcpkg-ci-curl/portfile.cmake b/scripts/test_ports/vcpkg-ci-curl/portfile.cmake index d876d08efc1e34..d935b1bf64bd54 100644 --- a/scripts/test_ports/vcpkg-ci-curl/portfile.cmake +++ b/scripts/test_ports/vcpkg-ci-curl/portfile.cmake @@ -5,8 +5,6 @@ set(ENV{PKG_CONFIG} "${PKGCONFIG}") vcpkg_cmake_configure( SOURCE_PATH "${CURRENT_PORT_DIR}/project" - OPTIONS - --trace-expand OPTIONS_RELEASE "-DCURL_CONFIG=${CURRENT_INSTALLED_DIR}/tools/curl/bin/curl-config" OPTIONS_DEBUG From 4dcdd52fe7ab3904e0cfcd550bd07796420dfd4f Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Thu, 12 Mar 2026 01:31:53 +0100 Subject: [PATCH 15/15] Fixup --- ports/curl/dependencies.patch | 16 +++++++++++++--- versions/c-/curl.json | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/ports/curl/dependencies.patch b/ports/curl/dependencies.patch index 40611a28b79367..02d4c47a2f5bd5 100644 --- a/ports/curl/dependencies.patch +++ b/ports/curl/dependencies.patch @@ -476,7 +476,7 @@ index 154ba5ef8f..316ad603a9 100644 if(TARGET "${_lib}") set(_explicit_libs "") get_target_property(_imported "${_lib}" IMPORTED) -@@ -2184,8 +2222,15 @@ if(NOT CURL_DISABLE_INSTALL) +@@ -2184,8 +2222,25 @@ if(NOT CURL_DISABLE_INSTALL) endif() if(_modules) list(APPEND LIBCURL_PC_REQUIRES_PRIVATE "${_modules}") @@ -486,13 +486,23 @@ index 154ba5ef8f..316ad603a9 100644 + endif() endif() ++ # deduplication and workaround for pkgconf 2.5.1 bug ++ if("${_explicit_libs};" MATCHES "/libcrypto.a;") ++ list(REMOVE_ITEM _modules "libcrypto") ++ list(APPEND _modules "libcrypto;") ++ endif() ++ if("${_explicit_libs};" MATCHES "/libz.a") ++ list(REMOVE_ITEM _modules "zlib") ++ list(APPEND _modules "zlib") ++ endif() ++ + set(LIBCURL_PC_LIBS_PRIVATE_NO_MODULES "${LIBCURL_PC_LIBS_PRIVATE}") + set(LIBCURL_PC_LIBS_PRIVATE "") + set(_original_lib "${_lib}") foreach(_lib IN LISTS _explicit_libs) if(_lib MATCHES "/") # This gets a bit more complex, because we want to specify the -@@ -2204,23 +2249,44 @@ if(NOT CURL_DISABLE_INSTALL) +@@ -2204,23 +2259,44 @@ if(NOT CURL_DISABLE_INSTALL) if(NOT _libdir IN_LIST _sys_libdirs) list(APPEND _ldflags "-L${_libdir}") endif() @@ -537,7 +547,7 @@ index 154ba5ef8f..316ad603a9 100644 list(APPEND LIBCURL_PC_LIBS_PRIVATE_LIST "${_lib}") endif() endforeach() -@@ -2243,6 +2309,7 @@ if(NOT CURL_DISABLE_INSTALL) +@@ -2243,6 +2319,7 @@ if(NOT CURL_DISABLE_INSTALL) if(LIBCURL_PC_LIBS_PRIVATE) string(REPLACE ";" " " LIBCURL_PC_LIBS_PRIVATE "${LIBCURL_PC_LIBS_PRIVATE}") endif() diff --git a/versions/c-/curl.json b/versions/c-/curl.json index b3431f5b5f7122..e25d9b8c974b54 100644 --- a/versions/c-/curl.json +++ b/versions/c-/curl.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "10aca2ef8314cca73cdc75ab3c1e281664752f35", + "git-tree": "2826bbcd8b83d191393e58842c2baa969b9363f9", "version": "8.19.0", "port-version": 0 },