Based on #38118, credits: @talregev.
OpenSSL now installs a CMake config, but it is not generated by CMake,
and it is not multi-config capable. This limitation affects location
properties, interface link libraries and package variables.
This PR just patches the config to chainload CMake's Find module.
Together with vcpkg's cmake wrapper, this immediately gives the desired
imported targets in a multi-config configuration when a user really
requests `OpenSSL CONFIG`.
---------
Co-authored-by: Tal Regev <tal.regev@gmail.com>
* * Enable Arm64 assembly optimization on Windows by using clang
* * find and add clang folder to the patch
* * update version
* * refactor based on the review
* * update version
* * fix arm64_uwp build
* * update version
* * fix arm64_uwp build
* * update version
* * refactoring
* * update version
* * use clang c_flags only for clang on Arm64
* * update version
* * update version
* Corrected fipsmodule.cnf install
move it to the same position as openssl.cnf, both are only examples of openssl
* Adjusted port version
* Adjusted SHA for vcpkg x-add-version --all
---------
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* Added option to enable fips build for openssl
I only implement and tested it for windows as I have no option to do this under linux
* Adjusted port version
* Updated to support only for Windows
* Corrected Formatting
* Corrected SHA for vcpkg x-add-version --all
* Changes requested by review
Removed the not needed FEATURE FIPS
Initialize INSTALL_FIPS as empty
* Corrected SHA for vcpkg x-add-version --all
* Removed Windows only support
* Corrected SHA for vcpkg x-add-version --all
* Added "supports": "!static"
As the provider conecpts needs dynamic linkage
* Corrected SHA for vcpkg x-add-version --all
* [vcpkg-cmake-get-vars] Call 'project' early
System variables like 'APPLE' or 'ANDROID' aren't set before 'project()'.
* Get Android variables
* [openssl] Ensure that compiler is reached via 'PATH'
* Fix Android configuration
* Add 'tools' feature
* Update versions
* [openssl] Initialize android with vcpkg settings
* [openssl] Really don't build apps
* [vcpkg-cmake-get-vars] Update android vars
* [libpq] Pass openssl version from pkgconfig
* [vcpkg-cmake-get-vars] Update android vars
* [vcpkg-cmake-get-vars] Report generator
* [vcpkg-cmake-get-vars] Escape all output
* Transfer cmake-get-vars fixes
* Transfer cmake-get-vars extra flags
* no-asm for android-arm w/o neon
* [vcpkg_configure_make] Unquote as needed
Toolchain flags are passed into make via environment variables (e.g.
CFLAGS) and expanded by Makefiles regardless of quotes. And even vcm's
internal handling isn't prepared for these quotes. So we must remove
the early. This doesn't interfere with properly escaped quotes.
* Re-add lost 'project', amends 4cf7caaa
* [openssl] Fix emscripten
* Use vcpkg_build_nmake for windows incl. uwp
Use prerun shell for configuration
* [openssl] Generate OPENSSL_VERSION_MAJOR/MINOR/FIX
* Update versions
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* allow clang-cl builds
* v db
* should always wait for the debug build to finishe .....
* v db
* fix static builds not having pdbs
* v db
* Add a variable and comment to describe why we are removing PDB copy rules.
Co-authored-by: Billy O'Neal <bion@microsoft.com>
* [openssl] Support custom cflags on Windows
* [openssl] Add vcpkg-cmake-get-vars dependency
* [openssl] Record version
Co-authored-by: Billy Robert O'Neal <bion@microsoft.com>
* Create package openssl3
* Create package openssl3
* Delete openssl3
* update version to 3.0.1
* Delete openssl3
* Update manifests to 3.0.1
* Fix download url
* Update port version
* Update version
* Remove wrong port version
* Fix errors
* Fix license
* Remove empty folders
* Fix post-build errors
* Add license field
* Fix cmake for uwp
* Remove patch file
* format manifest
* Update version file
* Fix port version
* version
* Test: remove vcvarsall
* version
* fix version
* version
* Fix docs in cmake files as well
* wrong branch
* Add port openssl-1
* Fix directories
* delete openssl-1
* [openssl-1] Add port
* version
* Fix UWP build
* version
* migrate uthenticode
* version
* Fix UWP build for librabbitmq
* version
* Fix UWP warnings
* version
* Fix patch
* version
* Disable C4996 on UWP
* version
* [idevicerestore] disable C4996
* remove warning fixes
* Revert uthenticode
* Final newlines
* version
* Remove winsock replace
* version
* [libwebsockets] Disable /WX on Windows
* version
* Typo
* version
* Disable C4996 in patch instead
* version
* [luasec] Use openssl-1
* version
* revert luasec
* migrate luasec
* version
* revert winsock
* version
* revert winsock
* version
* revert revert
* version
* Fix platform for luasec
* Fix supports
* version
* .
* version
* uthenticode
* libmysql
* azure-c-shared-utility
* version
* remove azure-c-shared-utility
* revert all
* uthenticode
* version
* azure
* version
* libmysql
* version
* remove mysql
* [libdatachannel] disable warnings on UWP
* version
* Fix patches
* version
* Add openssl-1 to CI baseline
* openssl-1: check if copyright exists
* version
* revert azure
* [libssh2] disable c4996
* version
* [aws-sdk-cpp] -Wno-deprecated
* version
* fix aws patch
* version
* fix aws patch
* version
* [qpid-proton] disable warning
* version
* Fix patch
* version
* [librtmp] disable c4996
* version
* [libu2f-server] disablec4996
* switch version scheme
* version
* [idevicerestore] disable c4996
* version
* typo
* version
* fix cmake
* version
* fix cmake again
* version
* [uthenticode] patch to support Openssl 3
* version
* fix idevicerestore
* version
* search for conflicting copyrights
* version
* Fix luasec
* fix version
* version
* fix azure
* version
* Remove debug stuff
* version
* [open62541] patch
* update port version
* version
* [libmysql] patch
* version
* Fix patch
* version
* Format openssl
* Format openssl portfiles
* Check for conflicting copyrights
* Fix typo
* Rename openssl-1 to openssl1
* Rename openssl-1 to openssl1
* version
* Update ci baseline
* version
* resolve conflicting port versions
* version
* apply latest openssl security fix
* version
* Fix qpid-proton
* version
* retrigger Bbuild of qtbase
* version
* revert qtbase
* Remove openssl1
* version
* version
* fix openssl_version_fix
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
The only places this was being used were as morally asserts for the port itself. Also removed empty ports from ci.baseline.txt.
In support of https://github.com/microsoft/vcpkg/pull/21502
* [openssl] Fix vcpkg-cmake-wrapper.cmake
* Update baseline revision
* Update the wrapper
* Update the baseline
* Update the wrapper
* Update the baseline
* Update the wrapper
* Update the baseline
* Update the wrapper
* Update the baseline
* Update the wrapper
* Update the baseline
* Update the wrapper
* Update the baseline
* Bump port-version.
* Update the baseline version
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [OpenSSL]: support for "no-autoload-config" config option
OpenSSL has "no-autoload-config" config option,
which disables automatic config loading:
https://github.com/openssl/openssl/pull/5959
This patch allows to set above option via variable
in custom triplet:
# build-openssl-no-autoload-config.cmake
set(OPENSSL_NO_AUTOLOAD_CONFIG ON)
and use it like:
vcpkg install --overlay-triplets=<path-to-triplets> \
openssl:build-openssl-no-autoload-config
Signed-off-by: Lev Stipakov <lev@openvpn.net>
* [OpenSSL] bump version
Signed-off-by: Lev Stipakov <lev@openvpn.net>