From 3126e3f3656d57ce9ea71fe61dcf294660d2681c Mon Sep 17 00:00:00 2001 From: Samuel Marks <807580+SamuelMarks@users.noreply.github.com> Date: Wed, 2 Feb 2022 18:14:27 -0500 Subject: [PATCH 1/7] [ports/c89stringutils] Init --- ports/c89stringutils/portfile.cmake | 18 ++++++++++++++++++ ports/c89stringutils/vcpkg.json | 17 +++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 ports/c89stringutils/portfile.cmake create mode 100644 ports/c89stringutils/vcpkg.json diff --git a/ports/c89stringutils/portfile.cmake b/ports/c89stringutils/portfile.cmake new file mode 100644 index 00000000000000..ae15441cb25e53 --- /dev/null +++ b/ports/c89stringutils/portfile.cmake @@ -0,0 +1,18 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO offscale/c89stringutils + REF 375c87aaf50a945b17a76727f3314eb217897caf + SHA512 395d942a133209daf510094814830e35daf2047c35b0ff15b17051d7095e4598fd830e0e7f763cac6929b867ff3b0c03c5350c4c3cfc68ed98b69c9c68c04be0 + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + "-DBUILD_TESTS=OFF" +) +vcpkg_cmake_install() +file(INSTALL "${SOURCE_PATH}/cmake/LICENSE.txt" + DESTINATION "${CURRENT_PACKAGES_DIR}/share/c89stringutils" + RENAME copyright) +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") diff --git a/ports/c89stringutils/vcpkg.json b/ports/c89stringutils/vcpkg.json new file mode 100644 index 00000000000000..7a14d20460ba8e --- /dev/null +++ b/ports/c89stringutils/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "c89stringutils", + "version": "0.0.1", + "description": "string functions from newer standards / common non-standards for C89", + "license": "Apache-2.0 OR MIT", + "supports": "!uwp", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} From a6acd5a0e9abd84647c2752f6e936048b223d762 Mon Sep 17 00:00:00 2001 From: Samuel Marks <807580+SamuelMarks@users.noreply.github.com> Date: Wed, 2 Feb 2022 18:14:57 -0500 Subject: [PATCH 2/7] `./vcpkg x-add-version --all --overwrite-version` --- versions/baseline.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/versions/baseline.json b/versions/baseline.json index 9464ea1f4eab9f..a73bf680ffae97 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1200,6 +1200,10 @@ "baseline": "2021-07-18", "port-version": 1 }, + "c89stringutils": { + "baseline": "0.0.1", + "port-version": 0 + }, "caf": { "baseline": "0.18.5", "port-version": 0 From 7491a168924b615d4c5ed4d0bdbdb01fb0ae95aa Mon Sep 17 00:00:00 2001 From: Samuel Marks <807580+SamuelMarks@users.noreply.github.com> Date: Wed, 2 Feb 2022 18:28:03 -0500 Subject: [PATCH 3/7] [versions/c-/c89stringutils.json] Init --- versions/c-/c89stringutils.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 versions/c-/c89stringutils.json diff --git a/versions/c-/c89stringutils.json b/versions/c-/c89stringutils.json new file mode 100644 index 00000000000000..7d7aa3a41460ed --- /dev/null +++ b/versions/c-/c89stringutils.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "9c5dcb3c6cf4442e2fdcb4cdea39f512db0ead54", + "version": "0.0.1", + "port-version": 0 + } + ] +} From a0058d6d3483d6704cc3d04143b82fad3c648ab1 Mon Sep 17 00:00:00 2001 From: Samuel Marks <807580+SamuelMarks@users.noreply.github.com> Date: Wed, 2 Feb 2022 18:29:23 -0500 Subject: [PATCH 4/7] [ports/rhasheq] Init --- ports/rhasheq/portfile.cmake | 18 ++++++++++++++++++ ports/rhasheq/vcpkg.json | 18 ++++++++++++++++++ versions/baseline.json | 4 ++++ 3 files changed, 40 insertions(+) create mode 100644 ports/rhasheq/portfile.cmake create mode 100644 ports/rhasheq/vcpkg.json diff --git a/ports/rhasheq/portfile.cmake b/ports/rhasheq/portfile.cmake new file mode 100644 index 00000000000000..fed79c5cdaaee7 --- /dev/null +++ b/ports/rhasheq/portfile.cmake @@ -0,0 +1,18 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO offscale/rhasheq + REF c42b672daf9bb1525cb94645244a09344c2a7363 + SHA512 55947069a67e7de8561b92bad753481402dd353aa40b06719346fa1247d8d0a5073a8a3e38419e7d9028684c091eb23b11b254fea836383a24ce8dcfe0cffefc + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + "-DBUILD_TESTING=OFF" +) +vcpkg_cmake_install() +file(INSTALL "${SOURCE_PATH}/COPYING" + DESTINATION "${CURRENT_PACKAGES_DIR}/share/rhasheq" + RENAME copyright) +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") diff --git a/ports/rhasheq/vcpkg.json b/ports/rhasheq/vcpkg.json new file mode 100644 index 00000000000000..fe16f73d8a1dc9 --- /dev/null +++ b/ports/rhasheq/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "rhasheq", + "version": "0.0.1", + "description": "Simple header-only librhash wrapper for verifying hashes from a file to a given `const char *`.", + "license": "0BSD", + "supports": "!uwp", + "dependencies": [ + "rhash", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index a73bf680ffae97..c7495b266e0cbb 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6088,6 +6088,10 @@ "baseline": "1.4.0", "port-version": 2 }, + "rhasheq": { + "baseline": "0.0.1", + "port-version": 0 + }, "riffcpp": { "baseline": "2.2.4", "port-version": 1 From 525983154f9c11294dbc2d28c0029e0b0502e8d4 Mon Sep 17 00:00:00 2001 From: Samuel Marks <807580+SamuelMarks@users.noreply.github.com> Date: Wed, 2 Feb 2022 18:29:58 -0500 Subject: [PATCH 5/7] [versions/r-/rhasheq.json] ./vcpkg x-add-version --all --overwrite-version --- versions/r-/rhasheq.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 versions/r-/rhasheq.json diff --git a/versions/r-/rhasheq.json b/versions/r-/rhasheq.json new file mode 100644 index 00000000000000..6e57139d2257a6 --- /dev/null +++ b/versions/r-/rhasheq.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "cb2f60ae76a338f1cb0ce7c8b5947fbf488cf603", + "version": "0.0.1", + "port-version": 0 + } + ] +} From b49d1dd9444423f4fcb8501806b9224d8705eba7 Mon Sep 17 00:00:00 2001 From: Samuel Marks <807580+SamuelMarks@users.noreply.github.com> Date: Fri, 4 Feb 2022 02:18:35 -0500 Subject: [PATCH 6/7] [ports/rhasheq/vcpkg.json] Added c89stringutils port as dependency --- ports/rhasheq/vcpkg.json | 1 + 1 file changed, 1 insertion(+) diff --git a/ports/rhasheq/vcpkg.json b/ports/rhasheq/vcpkg.json index fe16f73d8a1dc9..2ada70aec8b0bd 100644 --- a/ports/rhasheq/vcpkg.json +++ b/ports/rhasheq/vcpkg.json @@ -5,6 +5,7 @@ "license": "0BSD", "supports": "!uwp", "dependencies": [ + "c89stringutils", "rhash", { "name": "vcpkg-cmake", From 00ef164b913742df98de3e35d8eaf4299fa689aa Mon Sep 17 00:00:00 2001 From: Samuel Marks <807580+SamuelMarks@users.noreply.github.com> Date: Fri, 4 Feb 2022 02:19:54 -0500 Subject: [PATCH 7/7] [versions/r-/rhasheq.json] `./vcpkg x-add-version --all --overwrite-version` --- versions/r-/rhasheq.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions/r-/rhasheq.json b/versions/r-/rhasheq.json index 6e57139d2257a6..74506bc1e5947a 100644 --- a/versions/r-/rhasheq.json +++ b/versions/r-/rhasheq.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "cb2f60ae76a338f1cb0ce7c8b5947fbf488cf603", + "git-tree": "1f26547ad3e879dcf8083e3db488bdb1cda587f4", "version": "0.0.1", "port-version": 0 }