From 414bec05f2a97cfc0ddb8e22fd4635dfe2a20ab8 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Fri, 16 Apr 2021 17:11:10 -0700 Subject: [PATCH] [azure-security-keyvault-*] Add new ports (#17143) * [azure-security-keyvault-common-cpp] Update to 4.0.0-beta.1 ## 4.0.0-beta.1 (2021-04-07) ### New Features - KeyVaultException. * [azure-security-keyvault-keys-cpp] Update to 4.0.0-beta.1 ## 4.0.0-beta.1 (2021-04-07) ### New Features - Added `Azure::Security::KeyVault::Keys::KeyClient` for get, create, list, delete, backup, restore, and import key operations. - Added high-level and simplified `key_vault.hpp` file for simpler include experience for customers. - Added model types which are returned from the `KeyClient` operations, such as `Azure::Security::KeyVault::Keys::KeyVaultKey`. * Update vcpkg ports to use a manifest json file instead of a CONTROL file. * Update git tree sha versions using the command 'x-add-version --all --overwrite-version' Co-authored-by: Ahson Khan --- .../portfile.cmake | 19 +++++++++++++++++++ .../vcpkg.json | 12 ++++++++++++ .../portfile.cmake | 19 +++++++++++++++++++ .../vcpkg.json | 12 ++++++++++++ .../azure-security-keyvault-common-cpp.json | 9 +++++++++ .../a-/azure-security-keyvault-keys-cpp.json | 9 +++++++++ versions/baseline.json | 8 ++++++++ 7 files changed, 88 insertions(+) create mode 100644 ports/azure-security-keyvault-common-cpp/portfile.cmake create mode 100644 ports/azure-security-keyvault-common-cpp/vcpkg.json create mode 100644 ports/azure-security-keyvault-keys-cpp/portfile.cmake create mode 100644 ports/azure-security-keyvault-keys-cpp/vcpkg.json create mode 100644 versions/a-/azure-security-keyvault-common-cpp.json create mode 100644 versions/a-/azure-security-keyvault-keys-cpp.json diff --git a/ports/azure-security-keyvault-common-cpp/portfile.cmake b/ports/azure-security-keyvault-common-cpp/portfile.cmake new file mode 100644 index 00000000000..777b3f991a2 --- /dev/null +++ b/ports/azure-security-keyvault-common-cpp/portfile.cmake @@ -0,0 +1,19 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Azure/azure-sdk-for-cpp + REF azure-security-keyvault-common_4.0.0-beta.1 + SHA512 7364bf775bbf6115bf54ee0c2df8b2bae35ea31c669fcbc358edd00a948f2c73926fbf88282ff5442f40ead9cdfc78661a08e4f86002ac2eac5e78ddd13eb33d +) + +vcpkg_configure_cmake( + SOURCE_PATH ${SOURCE_PATH}/sdk/keyvault/azure-security-keyvault-common/ + PREFER_NINJA + OPTIONS + -DWARNINGS_AS_ERRORS=OFF +) + +vcpkg_install_cmake() +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +vcpkg_fixup_cmake_targets() +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") +vcpkg_copy_pdbs() diff --git a/ports/azure-security-keyvault-common-cpp/vcpkg.json b/ports/azure-security-keyvault-common-cpp/vcpkg.json new file mode 100644 index 00000000000..dbb47d6bf40 --- /dev/null +++ b/ports/azure-security-keyvault-common-cpp/vcpkg.json @@ -0,0 +1,12 @@ +{ + "name": "azure-security-keyvault-common-cpp", + "version-string": "4.0.0-beta.1", + "description": [ + "Microsoft Azure Common Key Vault SDK for C++", + "This library provides common Azure KeyVault-related abstractions for Azure SDK." + ], + "homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/master/sdk/keyvault/azure-security-keyvault-common", + "dependencies": [ + "azure-core-cpp" + ] +} diff --git a/ports/azure-security-keyvault-keys-cpp/portfile.cmake b/ports/azure-security-keyvault-keys-cpp/portfile.cmake new file mode 100644 index 00000000000..563384df009 --- /dev/null +++ b/ports/azure-security-keyvault-keys-cpp/portfile.cmake @@ -0,0 +1,19 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Azure/azure-sdk-for-cpp + REF azure-security-keyvault-keys_4.0.0-beta.1 + SHA512 fb5158320c859f27c97c86908fd4c3f7ceec2ec8b0ca3c213a075992b62dfdefa3a560173bc7034153c273c30abd7fd0a84f98842810de2f78412549e5d34ee4 +) + +vcpkg_configure_cmake( + SOURCE_PATH ${SOURCE_PATH}/sdk/keyvault/azure-security-keyvault-keys/ + PREFER_NINJA + OPTIONS + -DWARNINGS_AS_ERRORS=OFF +) + +vcpkg_install_cmake() +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +vcpkg_fixup_cmake_targets() +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") +vcpkg_copy_pdbs() diff --git a/ports/azure-security-keyvault-keys-cpp/vcpkg.json b/ports/azure-security-keyvault-keys-cpp/vcpkg.json new file mode 100644 index 00000000000..7671154345d --- /dev/null +++ b/ports/azure-security-keyvault-keys-cpp/vcpkg.json @@ -0,0 +1,12 @@ +{ + "name": "azure-security-keyvault-keys-cpp", + "version-string": "4.0.0-beta.1", + "description": [ + "Microsoft Azure Key Vault Keys SDK for C++", + "This library provides Azure Key Vault Keys SDK." + ], + "homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/master/sdk/keyvault/azure-security-keyvault-keys", + "dependencies": [ + "azure-security-keyvault-common-cpp" + ] +} diff --git a/versions/a-/azure-security-keyvault-common-cpp.json b/versions/a-/azure-security-keyvault-common-cpp.json new file mode 100644 index 00000000000..b836c121627 --- /dev/null +++ b/versions/a-/azure-security-keyvault-common-cpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "c084ea582625d5235560b84953af1240270c5a18", + "version-string": "4.0.0-beta.1", + "port-version": 0 + } + ] +} diff --git a/versions/a-/azure-security-keyvault-keys-cpp.json b/versions/a-/azure-security-keyvault-keys-cpp.json new file mode 100644 index 00000000000..e2cc106e630 --- /dev/null +++ b/versions/a-/azure-security-keyvault-keys-cpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "816b5bddbbd2e2396336120039220dd7c83a898d", + "version-string": "4.0.0-beta.1", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 99520efc631..e3441409c03 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -264,6 +264,14 @@ "baseline": "2020-06-17", "port-version": 2 }, + "azure-security-keyvault-common-cpp": { + "baseline": "4.0.0-beta.1", + "port-version": 0 + }, + "azure-security-keyvault-keys-cpp": { + "baseline": "4.0.0-beta.1", + "port-version": 0 + }, "azure-storage-blobs-cpp": { "baseline": "12.0.0-beta.10", "port-version": 0