From 834977918592e4f5d5ec5fe48ba338c608faf9f9 Mon Sep 17 00:00:00 2001 From: autoantwort <41973254+autoantwort@users.noreply.github.com> Date: Wed, 20 Nov 2024 18:58:15 +0100 Subject: [PATCH] [cthash] new port (#42215) --- ports/cthash/portfile.cmake | 11 +++++++++++ ports/cthash/vcpkg.json | 7 +++++++ versions/baseline.json | 4 ++++ versions/c-/cthash.json | 9 +++++++++ 4 files changed, 31 insertions(+) create mode 100644 ports/cthash/portfile.cmake create mode 100644 ports/cthash/vcpkg.json create mode 100644 versions/c-/cthash.json diff --git a/ports/cthash/portfile.cmake b/ports/cthash/portfile.cmake new file mode 100644 index 00000000000000..5be897cdf11f4d --- /dev/null +++ b/ports/cthash/portfile.cmake @@ -0,0 +1,11 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO hanickadot/cthash + REF cb62928766c9623bf86072e412220d59a65407d4 + SHA512 9ce214eff8772fcbdeac147ffdb7dadb8755bf101ed8b5fd5961ed57bfe314392dc42d40699ad1ff41d823cc132488ae936b2cb17615a1ce6740cba655e89498 + HEAD_REF main +) + +file(INSTALL "${SOURCE_PATH}/include/cthash" DESTINATION "${CURRENT_PACKAGES_DIR}/include") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/cthash/vcpkg.json b/ports/cthash/vcpkg.json new file mode 100644 index 00000000000000..1fcdc554cc997c --- /dev/null +++ b/ports/cthash/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "cthash", + "version-date": "2024-11-16", + "description": "constexpr implementation of SHA-2 and SHA-3 family of hashes", + "homepage": "https://github.com/hanickadot/cthash", + "license": "Apache-2.0" +} diff --git a/versions/baseline.json b/versions/baseline.json index 8e0bc51a9f74fb..c5db8207a739e6 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2096,6 +2096,10 @@ "baseline": "2020-09-14", "port-version": 5 }, + "cthash": { + "baseline": "2024-11-16", + "port-version": 0 + }, "ctp": { "baseline": "6.6.1_P1_20210406_se", "port-version": 4 diff --git a/versions/c-/cthash.json b/versions/c-/cthash.json new file mode 100644 index 00000000000000..29ed9f869b3d58 --- /dev/null +++ b/versions/c-/cthash.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "ce03bfc8d7ae54abc955c37df336d6bffc3b5def", + "version-date": "2024-11-16", + "port-version": 0 + } + ] +}