mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:39:00 +08:00
f8f5998162
* wolfSSL updates * [wolfSSL] from 5.5.0 -> 5.5.4 * [wolfTPM] from 2.6.0 -> 2.7.0 * [wolfMQTT] from 1.14.1 -> 1.15.0 * Update ports/wolftpm/portfile.cmake If there is no patch, delete it. * [wolfssl] remove comments from patch pr_5949.patch * [wolfmqtt] remove PATCHES since no longer needed * [wolfmqtt] update git tree hash for version 1.15.0 * [wolfssl/wolftpm] update version database --------- Co-authored-by: MonicaLiu <110024546+MonicaLiu0311@users.noreply.github.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
39 lines
1.3 KiB
CMake
39 lines
1.3 KiB
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO wolfssl/wolfssl
|
|
REF v5.5.4-stable
|
|
SHA512 6ecb37d614ae7b8ea9caa5bedebe2bb16b2719e172e146fc707ce1ead09a6c4d168b8e8aa52255d4cf0341a0617f17d7f4b321ba88aaa77664861c31ca7a1163
|
|
HEAD_REF master
|
|
PATCHES
|
|
pr_5949.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
-DWOLFSSL_BUILD_OUT_OF_TREE=yes
|
|
-DWOLFSSL_EXAMPLES=no
|
|
-DWOLFSSL_CRYPT_TESTS=no
|
|
-DWOLFSSL_OPENSSLEXTRA=yes
|
|
-DWOLFSSL_TPM=yes
|
|
-DWOLFSSL_TLSX=yes
|
|
-DWOLFSSL_OCSP=yes
|
|
-DWOLFSSL_OCSPSTAPLING=yes
|
|
-DWOLFSSL_OCSPSTAPLING_V2=yes
|
|
-DWOLFSSL_CRL=yes
|
|
-DWOLFSSL_DES3=yes
|
|
-DCMAKE_C_FLAGS='-DWOLFSSL_ALT_CERT_CHAINS\ -DWOLFSSL_DES_ECB\ -DWOLFSSL_CUSTOM_OID\ -DHAVE_OID_ENCODING\ -DWOLFSSL_CERT_GEN\ -DWOLFSSL_ASN_TEMPLATE\ -DWOLFSSL_KEY_GEN\ -DHAVE_PKCS7\ -DHAVE_AES_KEYWRAP\ -DWOLFSSL_AES_DIRECT\ -DHAVE_X963_KDF'
|
|
OPTIONS_DEBUG
|
|
-DWOLFSSL_DEBUG=yes)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/wolfssl)
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|