[uthenticode] Add new port (#11199)

* [uthenticode] Add new port

* ports/uthenticode: Add openssl as a dependency

* ports/uthenticode: 1.0.1

* ports/uthenticode: 1.0.2

* ports/uthenticode: Drop quotes

* treewide: Mark uthenticode as failing on UWP

* ports/uthenticode: Use ${PORT}
This commit is contained in:
William Woodruff 2020-05-08 17:35:16 -04:00 committed by GitHub
parent 1ad4220e5b
commit a1c887936f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,6 @@
Source: uthenticode
Version: 1.0.2
Description: A cross-platform library for verifying Authenticode signatures
Homepage: https://github.com/trailofbits/uthenticode
Supports: !uwp
Build-Depends: pe-parse, openssl

View File

@ -0,0 +1,28 @@
vcpkg_fail_port_install(ON_TARGET "uwp")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO trailofbits/uthenticode
REF v1.0.2
SHA512 0e92be1a1b918c03074a4c083c4bffeb318f348c76ba34c3244c2594f244f887819040e91b2e7d8bb5ac573007c7b3a2a72d4f71abeee0e252d7bfe60c68cb11
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/uthenticode TARGET_PATH share/uthenticode)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
file(
INSTALL
${SOURCE_PATH}/LICENSE
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
RENAME copyright
)

View File

@ -1868,6 +1868,8 @@ usd:x64-linux=ignore
usd:x86-windows=fail
usrsctp:arm-uwp=fail
usrsctp:x64-uwp=fail
uthenticode:arm-uwp=fail
uthenticode:x64-uwp=fail
uvatlas:arm64-windows=fail
uvatlas:arm-uwp=fail
uvatlas:x64-linux=fail