summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/azure-identity/Manifest1
-rw-r--r--dev-cpp/azure-identity/azure-identity-1.13.0-r1.ebuild51
-rw-r--r--dev-cpp/azure-identity/files/azure-identity-imds-double-slash.patch22
3 files changed, 0 insertions, 74 deletions
diff --git a/dev-cpp/azure-identity/Manifest b/dev-cpp/azure-identity/Manifest
index 4240e6308c55..1334c3fda412 100644
--- a/dev-cpp/azure-identity/Manifest
+++ b/dev-cpp/azure-identity/Manifest
@@ -1,2 +1 @@
DIST azure-sdk-for-cpp-11a2a38aa79daf573c2a16353dd9121536ac9fc1.tar.gz 3375477 BLAKE2B ee381975a7464c62b6a2d6a7aeaa52118cf6941a6c91b81eb8e056cc5deef9cd0d23dc7e56f273796fa906a064e9e23acb763762013b9c27837788cc261253ce SHA512 892223ff787bf68dd782e058962120b06f12891383fe26e157d9efd59ecc4d5d216f4fb1df6d46a46a57167ec1c3cfe864757e4e198a3c8a6a721603d7c51695
-DIST azure-sdk-for-cpp-6aea93d0410f5bc3e3a58a8d492a3063cac3aced.tar.gz 3360426 BLAKE2B 027729aece30196a607a3bb9d6b12e1f884069526b96773701fe211945426a0175ed94d65ae5df6577dfe871a89cbbcff53ea1c6ab814719385af9c9a821aad5 SHA512 f7abcf97468caa04c841935911490c134f1d860b9ae11f2ba57a2a480b9c63a7277fe2ed1440ae0d3c8d2ba76890bc170f38ee936016f9a4ba9b4989f2b7eb11
diff --git a/dev-cpp/azure-identity/azure-identity-1.13.0-r1.ebuild b/dev-cpp/azure-identity/azure-identity-1.13.0-r1.ebuild
deleted file mode 100644
index 193754348d56..000000000000
--- a/dev-cpp/azure-identity/azure-identity-1.13.0-r1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-COMMIT="6aea93d0410f5bc3e3a58a8d492a3063cac3aced"
-MY_P="azure-sdk-for-cpp-${COMMIT}"
-DESCRIPTION="Azure SDK for C++"
-HOMEPAGE="https://azure.github.io/azure-sdk-for-cpp/"
-SRC_URI="https://github.com/Azure/azure-sdk-for-cpp/archive/${COMMIT}.tar.gz -> ${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}/sdk/identity/${PN}"
-LICENSE="MIT"
-SLOT="0/${PV}"
-KEYWORDS="amd64"
-IUSE="doc"
-RESTRICT="test" # Too many online tests.
-
-RDEPEND="
- dev-cpp/azure-core:=
- dev-libs/openssl:=
- net-misc/curl[ssl]
-"
-DEPEND="
- ${RDEPEND}
-"
-BDEPEND="
- virtual/pkgconfig
- doc? ( app-text/doxygen )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-imds-double-slash.patch
-)
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_DOCUMENTATION=$(usex doc)
- -DWARNINGS_AS_ERRORS=no
- )
-
- AZURE_SDK_DISABLE_AUTO_VCPKG=yes \
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- rm -v "${ED}"/usr/share/*/copyright || die
- use doc && dodoc -r "${BUILD_DIR}"/docs/html
-}
diff --git a/dev-cpp/azure-identity/files/azure-identity-imds-double-slash.patch b/dev-cpp/azure-identity/files/azure-identity-imds-double-slash.patch
deleted file mode 100644
index f6b47be1ad6f..000000000000
--- a/dev-cpp/azure-identity/files/azure-identity-imds-double-slash.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 72f327b2c19afffa9df2ce0ef817c13b3dd75804 Mon Sep 17 00:00:00 2001
-From: James Le Cuirot <jlecuirot@microsoft.com>
-Date: Wed, 13 Aug 2025 15:52:31 +0100
-Subject: [PATCH] Fix IMDS token requests for managed identities
-
-This was broken by a035ee5f9416ef9188533de40b4ab1c37fb7c0af, which
-accidentally constructed the IMDS URL with a double slash at the start
-of the path. This is not properly routed on the server side, leading to
-a 404 error with some very misleading XML.
-
-Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
---- a/src/managed_identity_source.cpp
-+++ b/src/managed_identity_source.cpp
-@@ -527,7 +527,7 @@ std::unique_ptr<ManagedIdentitySource> ImdsManagedIdentitySource::Create(
-
- imdsUrl = Core::Url{imdsEndpointEnvVarValue};
- }
-- imdsUrl.SetPath("/metadata/identity/oauth2/token");
-+ imdsUrl.SetPath("metadata/identity/oauth2/token");
-
- return std::unique_ptr<ManagedIdentitySource>(
- new ImdsManagedIdentitySource(clientId, objectId, resourceId, imdsUrl, options));