aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2020-12-01 13:49:39 -0800
committerGitHub <noreply@github.com>2020-12-01 13:49:39 -0800
commit8ab16db55faa0376946be948d2ab39c8acb7018f (patch)
tree47fea50b5fc5c2b063f429d590cc02f60f3883db
parent6b117c9c7e23b933045e0f898120ec837a3816f0 (diff)
downloadvcpkg-8ab16db55faa0376946be948d2ab39c8acb7018f.tar.gz
vcpkg-8ab16db55faa0376946be948d2ab39c8acb7018f.zip
[c-ares] Update to 1.17.1. (#14863)
Update c-ares to 1.17.1, the current version as of 2020-11-30. The release announcement can be found at https://c-ares.haxx.se/mail/c-ares-archive-2020-11/0008.shtml. Fixes #14828.
-rw-r--r--ports/c-ares/CONTROL2
-rw-r--r--ports/c-ares/portfile.cmake12
2 files changed, 6 insertions, 8 deletions
diff --git a/ports/c-ares/CONTROL b/ports/c-ares/CONTROL
index 4898ec5de..c7243e1e8 100644
--- a/ports/c-ares/CONTROL
+++ b/ports/c-ares/CONTROL
@@ -1,5 +1,5 @@
Source: c-ares
-Version: 2019-5-2-1
+Version: 1.17.1
Homepage: https://github.com/c-ares/c-ares
Description: A C library for asynchronous DNS requests
Supports: !uwp \ No newline at end of file
diff --git a/ports/c-ares/portfile.cmake b/ports/c-ares/portfile.cmake
index c6835656f..a42fc9fc3 100644
--- a/ports/c-ares/portfile.cmake
+++ b/ports/c-ares/portfile.cmake
@@ -1,12 +1,10 @@
-if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
- message(FATAL_ERROR "c-ares does not currently support UWP.")
-endif()
+vcpkg_fail_port_install(ON_TARGET "uwp")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO c-ares/c-ares
- REF 9f1fdbf5dd633f81352fac0d6bc0d0c4d45be459
- SHA512 2bb3696e839e37c6f2be4b979ae6d0eab2914d6f0ca043f688e3bb3071d2348cb64424049f019c16bc05d472dd61d5071e865edd229dce023a50f556a1961766
+ REF cares-1_17_1
+ SHA512 e2a2a40118b128755571274d0cfe7cc822bc18392616378c6dd5f73f210571d7e5005a40ba0763658bdae7f2c7aadb324b2888ad8b4dcb54ad47dfaf97c2ebfc
HEAD_REF master
)
@@ -46,7 +44,7 @@ endif()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
# Handle copyright
-file(COPY ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/c-ares)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/c-ares/LICENSE.md ${CURRENT_PACKAGES_DIR}/share/c-ares/copyright)
+file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)