aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWanderley Caloni <wanderley.caloni@bitforge.com.br>2019-10-08 14:25:43 -0300
committerVictor Romero <romerosanchezv@gmail.com>2019-10-08 10:25:43 -0700
commit7a33372afdb6e9fe960551780b7ccb81c52a1d65 (patch)
treee6c10445d53dfc56ccc9f7588bc07ddec52c6bb7
parentf3e317b16f95184861ede6489cc33e17b83e352f (diff)
downloadvcpkg-7a33372afdb6e9fe960551780b7ccb81c52a1d65.tar.gz
vcpkg-7a33372afdb6e9fe960551780b7ccb81c52a1d65.zip
Including config file openssl.cnf in installation. (#8224)
* Including config file openssl.cnf in installation. The original cmake script after the build delete the openssl.cnf files, but if there is no config file in the environment the openssl.exe warnings and fails in some commands. This commit instead of deleting one of the openssl.cnf file it renames (moves) to the installation dir tools/openssl, the same openssl.exe final destination. * Changing version from CONTROL file to help the vcpkg update command know to rebuild.
-rw-r--r--ports/openssl-windows/CONTROL2
-rw-r--r--ports/openssl-windows/portfile.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/openssl-windows/CONTROL b/ports/openssl-windows/CONTROL
index 33c30e638..eb1d910c8 100644
--- a/ports/openssl-windows/CONTROL
+++ b/ports/openssl-windows/CONTROL
@@ -1,3 +1,3 @@
Source: openssl-windows
-Version: 1.0.2s-1
+Version: 1.0.2s-2
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.
diff --git a/ports/openssl-windows/portfile.cmake b/ports/openssl-windows/portfile.cmake
index 3506be9ab..22dfe8274 100644
--- a/ports/openssl-windows/portfile.cmake
+++ b/ports/openssl-windows/portfile.cmake
@@ -171,11 +171,11 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE
${CURRENT_PACKAGES_DIR}/debug/bin/openssl.exe
${CURRENT_PACKAGES_DIR}/debug/openssl.cnf
- ${CURRENT_PACKAGES_DIR}/openssl.cnf
)
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/openssl/)
file(RENAME ${CURRENT_PACKAGES_DIR}/bin/openssl.exe ${CURRENT_PACKAGES_DIR}/tools/openssl/openssl.exe)
+file(RENAME ${CURRENT_PACKAGES_DIR}/openssl.cnf ${CURRENT_PACKAGES_DIR}/tools/openssl/openssl.cnf)
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/openssl)