commit: 38e217885c3f877a9287717ae94b60503cd9c151
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 17 17:48:19 2026 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jan 17 17:55:10 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38e21788
dev-dotnet/dotnet-sdk-bin: bump to 10.0.102
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk-bin/Manifest | 6 +
.../dotnet-sdk-bin/dotnet-sdk-bin-10.0.102.ebuild | 175 +++++++++++++++++++++
2 files changed, 181 insertions(+)
diff --git a/dev-dotnet/dotnet-sdk-bin/Manifest
b/dev-dotnet/dotnet-sdk-bin/Manifest
index eb52ed23980b..1a81adadd33a 100644
--- a/dev-dotnet/dotnet-sdk-bin/Manifest
+++ b/dev-dotnet/dotnet-sdk-bin/Manifest
@@ -4,6 +4,12 @@ DIST dotnet-sdk-10.0.101-linux-musl-arm.tar.gz 232321365
BLAKE2B af4ed2b8085785c
DIST dotnet-sdk-10.0.101-linux-musl-arm64.tar.gz 231687577 BLAKE2B
1a65ea984bf09b2277cb2f1fd6fbf8681a7e8ecd1ff2e8e88bbe4c91ade53ad22d47f206c5baa323a25111af50c9a39ff26eabd19208c5f2483e2bb6da6b0738
SHA512
14ef2e8c87b0c7192e90d4a54bf44d7b1ca4936eef0718c47928196e4fe81216fa5b0c38d990e03fa2acb0d887fc1d7b824de495afa9c1956278b6dc4487b1ee
DIST dotnet-sdk-10.0.101-linux-musl-x64.tar.gz 239029593 BLAKE2B
9133b986b6bb84bc4bceaa68b3837c071a6f6cfd5ecad6de2f062cbe76a52018f3a4077f57470efd9bb152764558d6f481c15ca004c45a632b69759ba1b8c090
SHA512
a3b669e806376c29dc35a1edcbef410f49233a35af9e2cd8318045e9084bfd29f3baf811b68a2760b72126a190352cc6b10763f3cecdabb3bbdf7bd1b5dfd21b
DIST dotnet-sdk-10.0.101-linux-x64.tar.gz 239025495 BLAKE2B
07d934b09de46cce9754249dd8020d08900c46e7458b6308397857b1fb98a242aac1d76a49955aea7b639bf9d7dd4d8d3a7af3c5b52d7acea49c3fb18e9dcf32
SHA512
0443602455d30af51c819d7805e9b45550101c3718acbb3ec5f991e73d18e79b18fb5bc7cdf77bc308936a96275176b23a56e96133e7de83ae60ca2240bc602f
+DIST dotnet-sdk-10.0.102-linux-arm.tar.gz 233465540 BLAKE2B
a00649f72301e8ed0a35d69fcc860a0993011bc787273aefa94f23b558d49a5dd13dfb030a20e7ee0043e24c2d54ffe8b729ebcd78f02b42c57722688d7dd68a
SHA512
a28efff5b180b3912f26c65c4802acd961fa2d751a2cc289ba5727ae70253d70825bad4ed06019a7601aa54201d4666b6dcacb9869b0fd45466b9f5b25d6d15f
+DIST dotnet-sdk-10.0.102-linux-arm64.tar.gz 232234176 BLAKE2B
cbcf3833aa6b36c70f5ac68110aad38a179b367b0494e0b5393107e57520b41fa0be1930d8ede3592c5b7924824854f364a5af98932f4f6d5a61d42181ff934b
SHA512
1254141153d29b5b926e0e7b0b172a25f9c096b8ed6a182f54062c5e0b41384b30e10e2bf1ebe86ed0f58f4ff762203acd83bcf23fefb59c07af45332d794700
+DIST dotnet-sdk-10.0.102-linux-musl-arm.tar.gz 233409839 BLAKE2B
ea59338fa8cb3a94d0a2fb86e8c8445c3aaeee682c7ce4f980d9ab1382b3c556da21aecea1e84120bf6f81b5a888d32e097e91877c3671e687ef53804eba7889
SHA512
75ec79627e355f961adf8b326f2854fe9b2a9d5426aa826228c83dba6746bf9d9558f1b49f44357f60df1272728132ff4e40330c1c1383e26133185e3943723c
+DIST dotnet-sdk-10.0.102-linux-musl-arm64.tar.gz 232690413 BLAKE2B
786d052619a423adea2221e612fef6df20a1c05caa044fce16183486f2e024ad22f5a9eda6e68fbd79b0c296428094554c8365606470fe4cd54000fb01701b81
SHA512
10be1f3f2516fbc1049ad8fcb00bd12bbb16a2d20f708b6cd0177cd8775d01e9dec10ec1fbe4b570d7c82b158cb745d77e8ec66ff0b9f56327778562ba1a77be
+DIST dotnet-sdk-10.0.102-linux-musl-x64.tar.gz 240080363 BLAKE2B
6a1349fdfdba8a0a84ad8cc45013c8b3d2280844574cfb1288769c245f3e934781c3473df7cddf752732c62481c75ce989701ef38c50e6ea817896a10cd40fd9
SHA512
3586eb8de224d7585bf6cfd20f489e27c0a2a1fc8cb107c7ee2a07bead48b1edb0241f52febcf0e2f9f5fdf3ece3cf2e2f988b149166947445189e7406652ccd
+DIST dotnet-sdk-10.0.102-linux-x64.tar.gz 240084834 BLAKE2B
b40cca6080cfd53068fa7a598a64f55f613b2a4567671958c3bd93d2233a7dadb7372370d9ba1cac35a9a33f44985aea4f42a02902044723e3d98128d0bb21eb
SHA512
7adf40e8e5547970391cfbe474c3874c6918ce3575ac398f376c78502134e1c8a2fa3da9aca281fdaeda81671f56c851ebe9e74c5b57c5a298bd45deba63565d
DIST dotnet-sdk-6.0.417-linux-arm.tar.gz 182268907 BLAKE2B
fef6b9845d6ba6fd19cbe580f3a868ad48872fc919d119123886a9c975281ed0ab407cfe24421da1fb6bc6cc907c3d693278e0a3ab05f4382c10203095710c6e
SHA512
f14d5d24d6611139cff313275599923856307c3afe57d2439eb95e2a89da5fb54fdb6ce5b0d7a243f2d031af4eb0c277ce1914725f8b9dcff4002fcc05489f08
DIST dotnet-sdk-6.0.417-linux-arm64.tar.gz 179979647 BLAKE2B
069d6afc216b6ed3ebe3093e933f88af4d51f6a994fc4aeaae85658583a5cabf5e8ab08a0e1cfe53f7f19743769a9183b9e3d64b5464d6d96288ba51d983f261
SHA512
39cada75d9b92797de304987437498d853e1a525b38fa72d0d2949932a092fcf6036b055678686db42682b5b79cdc5ec5995cb01aa186762e081eb1ed38d2364
DIST dotnet-sdk-6.0.417-linux-musl-arm.tar.gz 182168816 BLAKE2B
b5e149074cb6076e03aaa90545d3916c072e9d1c46f6831633786658424fb8cbf12e72c3f497cb49755696668acb027534606152514f09d3417336aa7eb44eab
SHA512
86bff3ab8cecfd16f3d9d26da87b6cbeffd2041d474c56602ee5d77f6883fa64cfe85a19291fdc5afaab438fa5871e366f754b211ece161887f53c637473b661
diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-10.0.102.ebuild
b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-10.0.102.ebuild
new file mode 100644
index 000000000000..ca59932cba91
--- /dev/null
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-10.0.102.ebuild
@@ -0,0 +1,175 @@
+# Copyright 1999-2026 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}.2"
+
+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.23
+ ~dev-dotnet/dotnet-runtime-nugets-9.0.12
+"
+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
+ )
+ virtual/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
+}