From 4a51494149dd06bdc7d65c3140c338903efe52b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marius=20Negru=C8=9Biu?= Date: Wed, 18 Sep 2024 07:35:45 +0300 Subject: [PATCH] Upgraded to openssl/3.3.2 --- vcpkg/overlay_ports/openssl/portfile.cmake | 9 ++++++++- vcpkg/overlay_ports/openssl/vcpkg.json | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/vcpkg/overlay_ports/openssl/portfile.cmake b/vcpkg/overlay_ports/openssl/portfile.cmake index 984d5a7..adddceb 100644 --- a/vcpkg/overlay_ports/openssl/portfile.cmake +++ b/vcpkg/overlay_ports/openssl/portfile.cmake @@ -7,11 +7,17 @@ if(VCPKG_TARGET_IS_EMSCRIPTEN) vcpkg_check_linkage(ONLY_STATIC_LIBRARY) endif() +vcpkg_download_distfile(PATCH_FIX_BUILD_WITH_OLD_PERL + URLS https://github.com/openssl/openssl/commit/210dc9a50dfd99caa1cf7c3d2fa42850124b1bbc.patch?full_index=1 + SHA512 62f69f0e2664dc3b6a3090a3b2e142d50b14467f0e862784d9e306a503d4c34e77cd546d3a04dcf1b059e8300646b8ba5168579a0f2a33cfa9cffcbfd4f309e7 + FILENAME openssl-openssl-210dc9a50dfd99caa1cf7c3d2fa42850124b1bbc.patch +) + vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO openssl/openssl REF "openssl-${VERSION}" - SHA512 5282e078eb205ef691647e07d65186d81f9328329a06cca209a138adf10b95f12c16742ac61b4ab86e5098c153645ea413088d8263ff7054fdd40decd85b271f + SHA512 c6c152fa3eb06c8dcd4de9fccfd42165ba98715cc560454930709554bcb060db5a8465b70ee1d53e6df6ddc85507f66da745b1f2e2fae9605d808ea861d8f57d PATCHES cmake-config.patch command-line-length.patch @@ -23,6 +29,7 @@ vcpkg_from_github( unix/move-openssldir.patch unix/no-empty-dirs.patch unix/no-static-libs-for-shared.patch + "${PATCH_FIX_BUILD_WITH_OLD_PERL}" nscurl/openssl_cryptsilent.diff # nscurl: fix CryptAcquireContext(...CRYPT_SILENT...) calls. CRYPT_SILENT inexistent in NT4 nscurl/openssl_include_crypto.patch # nscurl: deploy "include/openssl/crypto" and "include/openssl/internal" nscurl/openssl_winnt_threads.diff # nscurl: fix OPENSSL_THREADS_WINNT and OPENSSL_THREADS_WINNT_LEGACY when _WIN32_WINNT >= 0x0400 diff --git a/vcpkg/overlay_ports/openssl/vcpkg.json b/vcpkg/overlay_ports/openssl/vcpkg.json index db5592b..80cd659 100644 --- a/vcpkg/overlay_ports/openssl/vcpkg.json +++ b/vcpkg/overlay_ports/openssl/vcpkg.json @@ -1,6 +1,6 @@ { "name": "openssl", - "version": "3.3.1", + "version": "3.3.2", "port-version": 1, "description": "OpenSSL is an open source project that provides a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. It is also a general-purpose cryptography library.", "homepage": "https://www.openssl.org",