mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 05:43:03 +08:00
openssl: Fix installation of openssl[core,tools] (#31171)
Do not try to install file that does not exist. Fixes #31170 Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
This commit is contained in:
parent
2dae865af0
commit
c102be8b23
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "openssl",
|
||||
"version": "3.1.0",
|
||||
"port-version": 3,
|
||||
"port-version": 4,
|
||||
"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",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -89,7 +89,9 @@ set(scripts "bin/c_rehash.pl" "misc/CA.pl" "misc/tsget.pl")
|
||||
if("tools" IN_LIST FEATURES)
|
||||
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/${PORT}")
|
||||
file(RENAME "${CURRENT_PACKAGES_DIR}/openssl.cnf" "${CURRENT_PACKAGES_DIR}/tools/${PORT}/openssl.cnf")
|
||||
file(RENAME "${CURRENT_PACKAGES_DIR}/fipsmodule.cnf" "${CURRENT_PACKAGES_DIR}/tools/${PORT}/fipsmodule.cnf")
|
||||
if("fips" IN_LIST FEATURES)
|
||||
file(RENAME "${CURRENT_PACKAGES_DIR}/fipsmodule.cnf" "${CURRENT_PACKAGES_DIR}/tools/${PORT}/fipsmodule.cnf")
|
||||
endif()
|
||||
foreach(script IN LISTS scripts)
|
||||
file(COPY "${CURRENT_PACKAGES_DIR}/${script}" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}")
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/${script}" "${CURRENT_PACKAGES_DIR}/debug/${script}")
|
||||
|
@ -5914,7 +5914,7 @@
|
||||
},
|
||||
"openssl": {
|
||||
"baseline": "3.1.0",
|
||||
"port-version": 3
|
||||
"port-version": 4
|
||||
},
|
||||
"openssl-unix": {
|
||||
"baseline": "deprecated",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "68137d1e48b5f9424e9de3d038a9e2c92f1baf39",
|
||||
"version": "3.1.0",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "b99152f5be63f45b2f3be6eb1624d96d70b21b49",
|
||||
"version": "3.1.0",
|
||||
|
Loading…
Reference in New Issue
Block a user