[miniupnpc] Update to 2.3.7 (#40552)

Co-authored-by: Monica <v-liumonica@microsoft.com>
This commit is contained in:
MonicaLiu 2024-08-23 03:03:58 -07:00 committed by GitHub
parent 6f65fda784
commit 9e78043c57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 11 deletions

View File

@ -2,8 +2,8 @@ string(REPLACE "." "_" MINIUPNPC_VERSION "${VERSION}")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO miniupnp/miniupnp
REF "miniupnpc_${MINIUPNPC_VERSION}"
SHA512 2f1fcd2d2820f649b832e1e0d6b826a812ee84f634460acb3b4af15338488fe3889bb8929c38a91a4f9786a5232177df479d874a388230723d27ae708d3b2592
REF "miniupnpd_${MINIUPNPC_VERSION}"
SHA512 f461b57446d9086e8fc2caf6ef202a78d204b2580d6096aca63234fda53302cad03840b14cc0d8b68e9033049b749be46e35c3737cc6cbcd2ad30c59b737a390
HEAD_REF master
)
@ -30,13 +30,9 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
else()
file(GLOB DEBUG_TOOLS "${CURRENT_PACKAGES_DIR}/debug/bin/*.exe")
file(GLOB RELEASE_TOOLS "${CURRENT_PACKAGES_DIR}/bin/*.exe")
file(
INSTALL ${RELEASE_TOOLS}
DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}"
)
vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}")
file(REMOVE ${DEBUG_TOOLS} ${RELEASE_TOOLS})
if(${RELEASE_TOOLS})
vcpkg_copy_tools(TOOL_NAMES ${RELEASE_TOOLS} AUTO_CLEAN)
endif()
endif()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,6 +1,6 @@
{
"name": "miniupnpc",
"version": "2.2.6",
"version": "2.3.7",
"description": "UPnP client library/tool to access Internet Gateway Devices",
"supports": "!uwp",
"dependencies": [

View File

@ -5861,7 +5861,7 @@
"port-version": 0
},
"miniupnpc": {
"baseline": "2.2.6",
"baseline": "2.3.7",
"port-version": 0
},
"miniz": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7cd06d47cb0cbaf659be8195bf06f2aef1980746",
"version": "2.3.7",
"port-version": 0
},
{
"git-tree": "9aee8de3ea87943bfaeff5368a5ae5194bf6b7fc",
"version": "2.2.6",