diff options
Diffstat (limited to 'dev-cpp')
| -rw-r--r-- | dev-cpp/azure-identity/Manifest | 1 | ||||
| -rw-r--r-- | dev-cpp/azure-identity/azure-identity-1.12.0.ebuild | 47 | ||||
| -rw-r--r-- | dev-cpp/azure-identity/azure-identity-1.13.0-r1.ebuild (renamed from dev-cpp/azure-identity/azure-identity-1.13.0.ebuild) | 4 | ||||
| -rw-r--r-- | dev-cpp/azure-identity/files/azure-identity-imds-double-slash.patch | 22 | ||||
| -rw-r--r-- | dev-cpp/parallel-hashmap/Manifest | 2 | ||||
| -rw-r--r-- | dev-cpp/parallel-hashmap/parallel-hashmap-2.0.0.ebuild (renamed from dev-cpp/parallel-hashmap/parallel-hashmap-1.3.8.ebuild) | 0 |
6 files changed, 27 insertions, 49 deletions
diff --git a/dev-cpp/azure-identity/Manifest b/dev-cpp/azure-identity/Manifest index 2424a832a1d4..fbc12cd04032 100644 --- a/dev-cpp/azure-identity/Manifest +++ b/dev-cpp/azure-identity/Manifest @@ -1,3 +1,2 @@ DIST azure-sdk-for-cpp-6aea93d0410f5bc3e3a58a8d492a3063cac3aced.tar.gz 3360426 BLAKE2B 027729aece30196a607a3bb9d6b12e1f884069526b96773701fe211945426a0175ed94d65ae5df6577dfe871a89cbbcff53ea1c6ab814719385af9c9a821aad5 SHA512 f7abcf97468caa04c841935911490c134f1d860b9ae11f2ba57a2a480b9c63a7277fe2ed1440ae0d3c8d2ba76890bc170f38ee936016f9a4ba9b4989f2b7eb11 -DIST azure-sdk-for-cpp-de3cc64a55b2a67d672b7ca899a8675182d1c989.tar.gz 3359660 BLAKE2B eda2034cc789ad6d5e1d477bbb5a3619a53ee22b511707b8aec9471dc8b09814b4b6c199442532790f7b43c07e21bfa3f6534cf49e1f46d7f8a5e60f3e5eecce SHA512 b6004de0e1f312bdd55f91f597d2ee831be9d3d500a0c554a8258f52d054c288a6caff3ae86cc023b9ee1167df9fd898d65278f0b076ae23b2e65e9ab5791d36 DIST azure-sdk-for-cpp-e8d34efc671b7dff133bd32bd2fe65aab4737ef2.tar.gz 3330505 BLAKE2B 3693cc1d587ad3cba32f5dfdbbc650fbd077f05092f0bd44809d1b99b27a2e3e4a9eeb6fa725e5385f117cd76fb09101839e74c3fdc1e082b45d824cad059fb4 SHA512 ffa0ec9e10dfefd948607761dcc328d39bbb3ed56aa9d1df7c1e370fcfd61e91df6f207c85a97e84fb1bd5ad7f2ec848f2f5f1cb85181174c6c7850ade265eeb diff --git a/dev-cpp/azure-identity/azure-identity-1.12.0.ebuild b/dev-cpp/azure-identity/azure-identity-1.12.0.ebuild deleted file mode 100644 index 2b9179081259..000000000000 --- a/dev-cpp/azure-identity/azure-identity-1.12.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -COMMIT="de3cc64a55b2a67d672b7ca899a8675182d1c989" -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 ) -" - -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/azure-identity-1.13.0.ebuild b/dev-cpp/azure-identity/azure-identity-1.13.0-r1.ebuild index 79814f2229e7..eb21aada9a90 100644 --- a/dev-cpp/azure-identity/azure-identity-1.13.0.ebuild +++ b/dev-cpp/azure-identity/azure-identity-1.13.0-r1.ebuild @@ -30,6 +30,10 @@ BDEPEND=" doc? ( app-text/doxygen ) " +PATCHES=( + "${FILESDIR}"/${PN}-imds-double-slash.patch +) + src_configure() { local mycmakeargs=( -DBUILD_DOCUMENTATION=$(usex doc) 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 new file mode 100644 index 000000000000..f6b47be1ad6f --- /dev/null +++ b/dev-cpp/azure-identity/files/azure-identity-imds-double-slash.patch @@ -0,0 +1,22 @@ +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)); diff --git a/dev-cpp/parallel-hashmap/Manifest b/dev-cpp/parallel-hashmap/Manifest index 033019f0116d..f1fc4386ce19 100644 --- a/dev-cpp/parallel-hashmap/Manifest +++ b/dev-cpp/parallel-hashmap/Manifest @@ -1,2 +1,2 @@ -DIST parallel-hashmap-1.3.8.tar.gz 2047306 BLAKE2B b56bd2a8f958f69c400e8b736669f7bbe875823ca28370a6ce0f25a6de995a81b4ff8269f84eea3bbdcd62ec96d2a7613d8d414abcf2da6215e476f81927d4ad SHA512 499f132aa1513942762ae5214e9a37915529d60142439d32276d9e68a446c93ecea66caa32ac00bea683e2c932101cd999c8839a89211e91032f777f236181f7 DIST parallel-hashmap-1.4.1.tar.gz 2058024 BLAKE2B bcb5886173a25325c6381f0f174f08de33a2c9c9a0bd43eed6eee6273a2dba357fdfc09064a35aef219c03f7460cf10949808ea982e2dede89f4e103bcbe4b8f SHA512 80fc90b1545ef6d05b33f29cd694fc5687d29c87463bd648bd91f84177e596432bc2630b5e57be80476c07e549689c65cb30d0e1901adfb2b34f57caa81d0751 +DIST parallel-hashmap-2.0.0.tar.gz 2059086 BLAKE2B 982297943a7044787b4280cefd62200cfe57dc318b1590cb6bd98a653b6297f9f359428e52b29831a544ba85c6be39d8aded94340df2009975b0926b9bf98754 SHA512 edd5ff6eb492bf0b34fcbb6594d3d07256c9498b677a3d8b41fd14329d7149f0fc11c697591447e4ea14e83268d98e129c34dfb11c87401c3cee35aaa016fc6e diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.3.8.ebuild b/dev-cpp/parallel-hashmap/parallel-hashmap-2.0.0.ebuild index 35fd6b2d793e..35fd6b2d793e 100644 --- a/dev-cpp/parallel-hashmap/parallel-hashmap-1.3.8.ebuild +++ b/dev-cpp/parallel-hashmap/parallel-hashmap-2.0.0.ebuild |
