mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
[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:
parent
1ad4220e5b
commit
a1c887936f
6
ports/uthenticode/CONTROL
Normal file
6
ports/uthenticode/CONTROL
Normal 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
|
28
ports/uthenticode/portfile.cmake
Normal file
28
ports/uthenticode/portfile.cmake
Normal 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
|
||||
)
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user