From c4af3593e1f1aa9e14a560a09e45ea2cb0dfd74d Mon Sep 17 00:00:00 2001 From: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> Date: Thu, 25 Apr 2024 10:52:19 +0800 Subject: [PATCH] [asio] Update to 1.30.2 (#38396) Update `asio` to the latest version 1.30.2. - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [ ] ~The "supports" clause reflects platforms that may be fixed by this new version.~ - [ ] ~Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.~ - [ ] ~Any patches that are no longer applied are deleted from the port's directory.~ - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file. --- ports/asio/portfile.cmake | 6 +++--- ports/asio/vcpkg.json | 2 +- versions/a-/asio.json | 5 +++++ versions/baseline.json | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ports/asio/portfile.cmake b/ports/asio/portfile.cmake index 3a99e5455a..1dd2d45c5f 100644 --- a/ports/asio/portfile.cmake +++ b/ports/asio/portfile.cmake @@ -3,8 +3,8 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO chriskohlhoff/asio - REF asio-1-29-0 - SHA512 f8df39c5a5e89dcfe4bd37c7e757e44e3e94d9b79d7ab08d1804ad8980993a607070f7e12238ffe3286840cd08c0b3c8e3639d3a1177e5ff795994cbc42a8292 + REF asio-1-30-2 + SHA512 cfba1998d4f666156e751c4cab1e504441b368efbf344e22de30f8b983670a88d045d3ca82f197b95522a2026262274f93bc3061210781ce30c35c71a386ce6e HEAD_REF master ) @@ -26,4 +26,4 @@ file(INSTALL file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") # Handle copyright -file(INSTALL "${SOURCE_PATH}/asio/LICENSE_1_0.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/asio/LICENSE_1_0.txt") diff --git a/ports/asio/vcpkg.json b/ports/asio/vcpkg.json index e6741a20da..c862b7547c 100644 --- a/ports/asio/vcpkg.json +++ b/ports/asio/vcpkg.json @@ -1,6 +1,6 @@ { "name": "asio", - "version": "1.29.0", + "version": "1.30.2", "description": "Asio is a cross-platform C++ library for network and low-level I/O programming that provides developers with a consistent asynchronous model using a modern C++ approach.", "homepage": "https://github.com/chriskohlhoff/asio", "documentation": "https://think-async.com/Asio/asio-1.28.0/doc/", diff --git a/versions/a-/asio.json b/versions/a-/asio.json index 7ecfc22ec2..de8b1c0a6e 100644 --- a/versions/a-/asio.json +++ b/versions/a-/asio.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "17ce1a2d17d0cb0d50eb72c89a9e51f472ef31f4", + "version": "1.30.2", + "port-version": 0 + }, { "git-tree": "9e307fe0a4e0e82f761ef6b6b15dc34f847fae6d", "version": "1.29.0", diff --git a/versions/baseline.json b/versions/baseline.json index 42ac9c3e48..4b51ccfae0 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -253,7 +253,7 @@ "port-version": 0 }, "asio": { - "baseline": "1.29.0", + "baseline": "1.30.2", "port-version": 0 }, "asio-grpc": {