commit: 604c7257d3229c832302e636555ebb4bbb0442ce
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 16 20:07:57 2025 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Oct 16 22:31:26 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=604c7257
dev-dotnet/dotnet-sdk-bin: bump to 9.0.111
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk-bin/Manifest | 6 +
.../dotnet-sdk-bin/dotnet-sdk-bin-9.0.111.ebuild | 174 +++++++++++++++++++++
2 files changed, 180 insertions(+)
diff --git a/dev-dotnet/dotnet-sdk-bin/Manifest
b/dev-dotnet/dotnet-sdk-bin/Manifest
index cd100ccbccba..675c511aa1d4 100644
--- a/dev-dotnet/dotnet-sdk-bin/Manifest
+++ b/dev-dotnet/dotnet-sdk-bin/Manifest
@@ -22,6 +22,12 @@ DIST dotnet-sdk-9.0.108-linux-musl-arm.tar.gz 206133993
BLAKE2B 4a7a0772a0f011c2
DIST dotnet-sdk-9.0.108-linux-musl-arm64.tar.gz 206542192 BLAKE2B
076f1d6aebe14655c6850c8cdbab497ef7731e7235e6b9adc7c164d22810cc986abad3a24de21e22d774441b3b4f03bbfc6a5047dffc4944608546e932fca51a
SHA512
2fc78667affb757a707175a3b0c557985e2ce930a7503f4aa84f20b082d9886a35a0f0df54ba1902d78b02d618fb7c8899dc4ea99698ead43c7cc565cf55ffd8
DIST dotnet-sdk-9.0.108-linux-musl-x64.tar.gz 211500639 BLAKE2B
df973f7c79af38a1f4736d662463aa9fee27fbc72e9fb18142770776451ed99700e0f45c8eb06e33058d4b099556648ba44c401fbc7c93fce3911f5d340d7a56
SHA512
0a6079d484a1d104f6faf05fece25350e9c18b494dcba33868d9294c7c2e6c936e7a19e882c65a7577b3678c421e40dfb691ea9504a67d65aa8d5b892b97318c
DIST dotnet-sdk-9.0.108-linux-x64.tar.gz 211362374 BLAKE2B
7143023620e206d99984ecb24774d3ce4daa7155806fef7f2e90002d4d0330b47247ef34cbb2a06f74126e492d34887c20427373e5e874d6e0a8d133a12131e4
SHA512
8c2d988e998b906c71684cbe9aec9cbf2b65cb31ed8c3eb15a6e65f961b031faeba32d71997f50d56e04e6f0081f860480722dc1693c6b015543eb61acdb5876
+DIST dotnet-sdk-9.0.111-linux-arm.tar.gz 206009923 BLAKE2B
366abc3f95e2a4a53efffb90d43b9e2f52558d712b83402ee8e6f47d3ab097b7207404a7d033837576a0d5d6cdbe209a10bdcc3e03c08145f24a27bf8f221c68
SHA512
fc86a222022c59184de554c6fe5df20a27d2dd6fbaa634d66fc99ee4a5f2747e3d1e83284f3761aa0d529261de52c71993b8bb72fb6ed2cba39624f09e34e9d1
+DIST dotnet-sdk-9.0.111-linux-arm64.tar.gz 206333094 BLAKE2B
f8f285a8ec07023794cb43ae264a6eb1e8bfd90cb7b4d3152b5052e4e5043af3e75da7c8b848289aa014297c59a890653aec3cde8171ecd0b2348e3c43009ab0
SHA512
ff8039baf572e28e8e74f0628a6c6b2f7e89deeba02ceeb3c851801e6c60bc900f90ac2ca3773e29d8a3e3a97350aab524ebf29f91c5bdbb2ec2e10ef945c192
+DIST dotnet-sdk-9.0.111-linux-musl-arm.tar.gz 205871077 BLAKE2B
46ba6f7ceed554bf7d439e1f6c80f4647e47a87b7b4fa7e0b7434e6c554ddec64b73a273e5a0a92c5320ee60ab4d2b90ddbfb3d8c6d4b48f4acebc3b8d990bc0
SHA512
794c09cdef7f8adac85a3a8e700096cea0363cae9c28b4000906197897e748196a374dca9d6fee2567dc3b82490915e3d14ab3595fed41076e2f57995cf0e44a
+DIST dotnet-sdk-9.0.111-linux-musl-arm64.tar.gz 206267314 BLAKE2B
8b6dddd92138a254004e72f97190e7d06c2ebf1ca2093bcc40a973586e86fc6d51b6c259316e11e08353cbf3d18bf3d1def06938955dfc93569dbb9cf93aaaae
SHA512
9f91b1fca6916d18f36c84c144b3b5019dfaddff2016ff0ad4defd2efa2143806e3bca193717c6e62006f5ba4f124afa9ebe4c2f11f9540f7de3ebb06ea3eb2b
+DIST dotnet-sdk-9.0.111-linux-musl-x64.tar.gz 211108576 BLAKE2B
d0afced4c0873c74accb76493564c06dea908bb4f6abb72b718f39ad6b6a58e362357028ce158d78bde47278c4cf78bad1c4c3022a1236adcd27e2b96685fcc9
SHA512
f80984ab6c3422971de9f23592fc91e30b7139006ed4fec811a1936bb70a2de023cafdbca1acf48078ba82fc1681979fc141cf09b7eddb3331f2d176de14e6e6
+DIST dotnet-sdk-9.0.111-linux-x64.tar.gz 211180852 BLAKE2B
5f3611726302b7e5d24cd24faad6b5004ec5a5ed487ef7c38f7e30cd8cbbb74e3a2b95f0a7445060588aad47778d7d543ea236de78619e73f57f8ca668ab5e2a
SHA512
927820957afdf38d2b4cdb3ca0d24ce71d67821f50a7f71413c38e627b87740c5a9bb0e240498beb7aba536bc1cbac0e7dd41b3025ecf8643c4ee40e973d2963
DIST dotnet-sdk-9.0.302-linux-arm.tar.gz 212521231 BLAKE2B
dff45a7644e0f11f6e75699e5a04650513a9a3f8fa86fbf8f0e7d35a7546627d64f37b047f6e142fd513283169d0d712507d659f55ae93a6e685946a3cc3325c
SHA512
880500176abc263b9fe4d9fd5b3f77b975370bcc76af1453b5b776d835329a5a9f3e02903ced3ee3419ae6f7e0e99cb964b585bb430da75d6623dc2965c46081
DIST dotnet-sdk-9.0.302-linux-arm64.tar.gz 212925183 BLAKE2B
7377289fc6a166de65edc7c622d22936a8bcbdebed308ea2bcb2f3ddede6169c7377756c65e515c4db32050cb53225b8853dedba679c610d4da880b653013930
SHA512
dded437c836b201219ef8cb1993e50c3e96a9d09cd2541ffe2c0810530e737dfb44adb8dd766caa2f02def0d0bc2ac9c563a189f1cb1ca6a64d9f71251a94141
DIST dotnet-sdk-9.0.302-linux-musl-arm.tar.gz 212607437 BLAKE2B
058e7accb6cd428f2755e1b49d727f7011e3badcb978d9a6e0abef84b6688997c4c5457d988b6a99e894c7719b2726d655339705e117000e0316d5eb7ef98c1b
SHA512
f42092ae79719b3ac136e9f634bb81251d75b73551e0d8661e8be8b5decb23633f0877ff1e1fc60b16509483e20b49dac9c7a4cc6093848d1e9da0f7c6a93c37
diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-9.0.111.ebuild
b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-9.0.111.ebuild
new file mode 100644
index 000000000000..3fca7c780afd
--- /dev/null
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-9.0.111.ebuild
@@ -0,0 +1,174 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+SDK_SLOT="$(ver_cut 1-2)"
+RUNTIME_SLOT="${SDK_SLOT}.10"
+
+DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
+HOMEPAGE="https://dotnet.microsoft.com/
+ https://github.com/dotnet/dotnet/"
+SRC_URI="
+amd64? (
+ elibc_glibc? (
+
https://builds.dotnet.microsoft.com/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-x64.tar.gz
+ )
+ elibc_musl? (
+
https://builds.dotnet.microsoft.com/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-musl-x64.tar.gz
+ )
+)
+arm? (
+ elibc_glibc? (
+
https://builds.dotnet.microsoft.com/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-arm.tar.gz
+ )
+ elibc_musl? (
+
https://builds.dotnet.microsoft.com/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-musl-arm.tar.gz
+ )
+)
+arm64? (
+ elibc_glibc? (
+
https://builds.dotnet.microsoft.com/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-arm64.tar.gz
+ )
+ elibc_musl? (
+
https://builds.dotnet.microsoft.com/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-musl-arm64.tar.gz
+ )
+)
+"
+S="${WORKDIR}"
+
+LICENSE="MIT"
+SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
+# See bug https://bugs.gentoo.org/932377
+KEYWORDS="~amd64 ~arm ~arm64"
+
+# STRIP="llvm-strip" corrupts some executables when using the patchelf hack,
+# bug https://bugs.gentoo.org/923430
+RESTRICT="splitdebug strip"
+
+CURRENT_NUGETS_DEPEND="
+ ~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT}
+"
+EXTRA_NUGETS_DEPEND="
+ ~dev-dotnet/dotnet-runtime-nugets-6.0.36
+ ~dev-dotnet/dotnet-runtime-nugets-7.0.20
+ ~dev-dotnet/dotnet-runtime-nugets-8.0.21
+"
+NUGETS_DEPEND="
+ ${CURRENT_NUGETS_DEPEND}
+ ${EXTRA_NUGETS_DEPEND}
+"
+
+RDEPEND="
+ app-crypt/mit-krb5:0/0
+ dev-libs/icu
+ || (
+ dev-util/lttng-ust-compat:0/2.12
+ dev-util/lttng-ust:0/2.12
+ )
+ sys-libs/zlib:0/1
+"
+BDEPEND="
+ dev-util/patchelf
+"
+IDEPEND="
+ app-eselect/eselect-dotnet
+"
+PDEPEND="
+ ${NUGETS_DEPEND}
+"
+
+QA_PREBUILT="*"
+
+MUSL_BAD_LINKS=(
+ apphost
+ createdump
+ dotnet
+ libSystem.Globalization.Native.so
+ libSystem.IO.Compression.Native.so
+ libSystem.Native.so
+ libSystem.Net.Security.Native.so
+ libSystem.Security.Cryptography.Native.OpenSsl.so
+ libclrgc.so
+ libclrjit.so
+ libcoreclr.so
+ libcoreclrtraceptprovider.so
+ libdbgshim.so
+ libhostfxr.so
+ libhostpolicy.so
+ libmscordaccore.so
+ libmscordbi.so
+ libnethost.so
+ singlefilehost
+)
+MUSL_BAD_SONAMES=(
+ libc.musl-aarch64.so.1
+ libc.musl-armv7.so.1
+ libc.musl-x86_64.so.1
+)
+
+src_prepare() {
+ default
+
+ # Fix musl libc SONAME links, bug https://bugs.gentoo.org/894760
+ if use elibc_musl ; then
+ local musl_bad_link
+ local musl_bad_link_path
+ local musl_bad_soname
+
+ for musl_bad_link in "${MUSL_BAD_LINKS[@]}" ; do
+ while read -r musl_bad_link_path ; do
+ # Skip if file either does not end with ".so"
or is not executable.
+ # Using "case" here for easier matching in case
we have to add
+ # a special exception.
+ case "${musl_bad_link_path}" in
+ *.so )
+ :
+ ;;
+ * )
+ if [[ ! -x
"${musl_bad_link_path}" ]] ; then
+ continue
+ fi
+ ;;
+ esac
+
+ einfo "Fixing musl libc link for
${musl_bad_link_path}"
+
+ for musl_bad_soname in "${MUSL_BAD_SONAMES[@]}"
; do
+ patchelf --remove-needed
"${musl_bad_soname}" "${musl_bad_link_path}" || die
+ done
+
+ patchelf --add-needed libc.so
"${musl_bad_link_path}" || die
+ done < <(find . -type f -name "${musl_bad_link}")
+ done
+ fi
+
+ # Remove static libraries, bug https://bugs.gentoo.org/825774
+ find ./packs -type f -name "libnethost.a" -delete || die
+}
+
+src_install() {
+ local dest="opt/${PN}-${SDK_SLOT}"
+ dodir "${dest%/*}"
+
+ # Create a magic workloads file, bug #841896
+ local featureband="$(( $(ver_cut 3) / 100 * 100 ))" # e.g. 404 ->
400
+ local workloads="metadata/workloads/${SDK_SLOT}.${featureband}"
+
+ mkdir -p "${S}/${workloads}" || die
+ touch "${S}/${workloads}/userlocal" || die
+
+ mv "${S}" "${ED}/${dest}" || die
+ mkdir "${S}" || die
+
+ fperms 0755 "/${dest}"
+ dosym "../../${dest}/dotnet" "/usr/bin/dotnet-bin-${SDK_SLOT}"
+}
+
+pkg_postinst() {
+ eselect dotnet update ifunset
+}
+
+pkg_postrm() {
+ eselect dotnet update ifunset
+}