[libgnutls] Disable tpm (#18070)

* Disable tpm (not available in vcpkg)

* Quote filepath expressions

* x-add-version
This commit is contained in:
Kai Pastor 2021-05-24 20:57:02 +02:00 committed by GitHub
parent c18309ae56
commit 01ba491712
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 6 deletions

View File

@ -10,7 +10,7 @@ vcpkg_download_distfile(ARCHIVE
vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH SOURCE_PATH
ARCHIVE ${ARCHIVE}
ARCHIVE "${ARCHIVE}"
REF ${GNUTLS_VERSION}
)
@ -25,7 +25,7 @@ if ("openssl" IN_LIST FEATURES)
endif()
vcpkg_configure_make(
SOURCE_PATH ${SOURCE_PATH}
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
--disable-doc
--disable-silent-rules
@ -35,6 +35,7 @@ vcpkg_configure_make(
--disable-libdane
--with-included-unistring
--without-p11-kit
--without-tpm
${OPENSSL_COMPATIBILITY}
"LDFLAGS=${LDFLAGS}"
)
@ -43,5 +44,5 @@ vcpkg_install_make()
vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,7 +1,7 @@
{
"name": "libgnutls",
"version": "3.6.15",
"port-version": 1,
"port-version": 2,
"description": "A secure communications library implementing the SSL, TLS and DTLS protocols",
"homepage": "https://www.gnutls.org/",
"supports": "!windows",

View File

@ -3134,7 +3134,7 @@
},
"libgnutls": {
"baseline": "3.6.15",
"port-version": 1
"port-version": 2
},
"libgo": {
"baseline": "3.1-1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c03a1c452fa39d1b6d884aa3ef12c0c98a11f0a3",
"version": "3.6.15",
"port-version": 2
},
{
"git-tree": "09f2d8c5e4e07d2076324767d251fef3bc4acb8c",
"version": "3.6.15",