public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk-bin/
Date: Wed, 09 Jul 2025 21:48:10 +0000 (UTC)	[thread overview]
Message-ID: <1752097683.2218a1c480264b85ce5c9208b8ee93c178b0f1d2.xgqt@gentoo> (raw)

commit:     2218a1c480264b85ce5c9208b8ee93c178b0f1d2
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Jul  9 20:54:26 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Jul  9 21:48:03 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2218a1c4

dev-dotnet/dotnet-sdk-bin: bump to 9.0.108

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-dotnet/dotnet-sdk-bin/Manifest                 |   6 +
 .../dotnet-sdk-bin/dotnet-sdk-bin-9.0.108.ebuild   | 171 +++++++++++++++++++++
 2 files changed, 177 insertions(+)

diff --git a/dev-dotnet/dotnet-sdk-bin/Manifest b/dev-dotnet/dotnet-sdk-bin/Manifest
index 13b4f6338181..2c1c994a9f85 100644
--- a/dev-dotnet/dotnet-sdk-bin/Manifest
+++ b/dev-dotnet/dotnet-sdk-bin/Manifest
@@ -28,6 +28,12 @@ DIST dotnet-sdk-9.0.106-linux-musl-arm.tar.gz 206081948 BLAKE2B 26aedb507254da4e
 DIST dotnet-sdk-9.0.106-linux-musl-arm64.tar.gz 206417236 BLAKE2B 7500c02b42a4cb34f7a709398052551b12bb59b862640b6fd2c6c9f737727d9b19e3572ecca7763d21bf012182bd68417f69c9dbc155a279a05c928954683db1 SHA512 834d136255e2c220e7c0327bc47e89326b57e0352b6ab01abba073cbda4d4d2933cbc6ae4440f2b9911a52ad5d05bc0f7ffb36e790f9ea4561567dd3e22bd514
 DIST dotnet-sdk-9.0.106-linux-musl-x64.tar.gz 211400426 BLAKE2B df6c058da7829732e2c4a013aa382393e17e23e759973cb9ededa56157f32ff33c9814864201727dfb7ad034a46448eba0650843c9fad41967b414891b99f202 SHA512 28f5adaedca5dfb1c0125c323789485c972591a65cbd518fb5d951d73131de1e7a92ff09713622788d02acf78906fa7412538c6c7e9b3c4bf6715f6495ff826c
 DIST dotnet-sdk-9.0.106-linux-x64.tar.gz 211203936 BLAKE2B c87e80eadcf56e566cde136f520a458a1549ab4d1071e431f8c769db0ac5b330afa93db10a6a7a537d80a1b351f089281502cb712dd515491b281c0654069b26 SHA512 f977c90a5e56c3db7b7d4e23844cdb496ee966bd31ad63f8b84363a7eff28a3fb14109350381bd836ddbc67d6750f3f7dd55471e4c5d00b0214341741856fb2d
+DIST dotnet-sdk-9.0.108-linux-arm.tar.gz 206155881 BLAKE2B aef288183e0ba03e69bc7becdeec316132b36d3129e07503d58edf3f48ebfc00c4a56dc0af912a68fb5f5a1677d81488b3a8ea6fc5503db59138dda46b87a5c0 SHA512 16588a9c6d0308e0b692acb854764c42f1ae95dcdda4379b44a2d93c8970c5c9745b46fb4084eec2961e927aa5a3123b7dd3b546d00fd787a9b06cdaebf986ff
+DIST dotnet-sdk-9.0.108-linux-arm64.tar.gz 206540737 BLAKE2B 8babc33daa4b0b3e6eff9db891d85b2f3b4355c327f44de38314cd2a9d8db36c6cb762a000e792c47b64116ba674ce8e139de7d96682fd815d97c9781bb89479 SHA512 95a3f8a66296b23aecd86ca296e2bd147cf396e2f6a7b6c6be795b70df2411d6163df15e28a6bb26248e20b619c1794ddc5bb1dfd2f0a7d5e1e58a9d2d453982
+DIST dotnet-sdk-9.0.108-linux-musl-arm.tar.gz 206133993 BLAKE2B 4a7a0772a0f011c28cb2e2310973f40d98b99265af185de60dc79d9dc7b9578d7fdd351ba33f5e928d80f1405ffe433b683b75562c350cd529ee4b3af2b8a3b8 SHA512 41ae685627a9d27fc4b19a26f0e760115384903abb2e3919c4f8027ba3e75a8b4034b2e997565f7799eae19385103fda1e131b23c176a1605788bbcbdf5fc111
+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.300-linux-arm.tar.gz 212625737 BLAKE2B deeb334bb88f192c0e036cb70127a13b1ff6b359dcb1a272b303a57bbd534b333b404bbb2c4dd97ba5f5dfc2e801bea7eed4a713f13bfee1c68964b26fdd29d5 SHA512 ca20957d3f4a09bffb86bb21b1379ff19bc62907b50d37090bb705f28064b064131aa01ca4328a29ac66365ee5539fd3152efe79c61294ad7958b19e6114d4de
 DIST dotnet-sdk-9.0.300-linux-arm64.tar.gz 213033038 BLAKE2B a75d670dfa72c8af3277b9271e09aa0b4d138c6c275ae3e018994363aa8d0e8df82edf7185fde8e1a8c8259a1d18f2ad2a53155c41fccfc1fa6e923ee8a8e85d SHA512 c3c48b256eaf0a662412dc8cfbfa387bb97f3af84ae9cb1aba53f2d34afa5ee735c87b979549ce97eb3aa451c12bd3b10e6453eea6d4ac096d9eeecaedaad540
 DIST dotnet-sdk-9.0.300-linux-musl-arm.tar.gz 212603345 BLAKE2B 29b1fff839cffa28d1a90c75a35ae273f602534121956c398e446c0e5fc5ef11c8edd03765842d4683e851a8b02eeaae58d1b0005e53cf5a09682a06ddb1a6eb SHA512 e19f4f7bfce95e73112afde42e7c16c897c016195ebb36f4e411a3bf1aa939f4c1456f9d4abb968dc8eba75531c8edaeb673df0e9e570d8dc5cb725ca57700d5

diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-9.0.108.ebuild b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-9.0.108.ebuild
new file mode 100644
index 000000000000..25fa5c5d52ab
--- /dev/null
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-9.0.108.ebuild
@@ -0,0 +1,171 @@
+# 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}.7"
+
+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.18
+"
+NUGETS_DEPEND="
+	${CURRENT_NUGETS_DEPEND}
+	${EXTRA_NUGETS_DEPEND}
+"
+
+RDEPEND="
+	app-crypt/mit-krb5:0/0
+	dev-libs/icu
+	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
+}


             reply	other threads:[~2025-07-09 21:48 UTC|newest]

Thread overview: 185+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-09 21:48 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-16 22:37 [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk-bin/ Maciej Barć
2025-10-16 22:37 Maciej Barć
2025-09-13 13:08 Sam James
2025-08-26 13:14 Maciej Barć
2025-08-19 21:03 Sam James
2025-08-19 17:32 Arthur Zamarin
2025-08-19 17:14 Sam James
2025-08-03 13:27 Maciej Barć
2025-07-25 23:42 Sam James
2025-07-24 20:21 Arthur Zamarin
2025-07-24  4:24 Sam James
2025-07-09 21:48 Maciej Barć
2025-07-09 21:48 Maciej Barć
2025-07-09 21:48 Maciej Barć
2025-06-02 18:13 Maciej Barć
2025-06-02 18:13 Maciej Barć
2025-05-16 22:10 Sam James
2025-05-16 22:10 Sam James
2025-05-16 19:36 Arthur Zamarin
2025-05-14 20:22 Maciej Barć
2025-05-02 15:44 Maciej Barć
2025-04-14 15:59 Sam James
2025-04-13 17:17 Sam James
2025-04-13 17:17 Sam James
2025-04-13 15:14 Maciej Barć
2025-04-13 15:14 Maciej Barć
2025-03-27  9:36 Viorel Munteanu
2025-02-04 16:52 Maciej Barć
2025-02-04 12:52 Maciej Barć
2024-12-27 18:52 Maciej Barć
2024-12-20 22:58 Sam James
2024-12-20 22:58 Sam James
2024-12-20 22:58 Sam James
2024-12-10  1:33 Maciej Barć
2024-12-10  1:33 Maciej Barć
2024-11-19 19:59 Maciej Barć
2024-11-19 19:59 Maciej Barć
2024-11-19 19:59 Maciej Barć
2024-09-26 17:19 Maciej Barć
2024-09-26 17:19 Maciej Barć
2024-09-26 17:19 Maciej Barć
2024-09-04  8:09 Maciej Barć
2024-09-04  8:09 Maciej Barć
2024-09-04  1:57 Sam James
2024-09-04  1:01 Sam James
2024-08-24 15:44 Maciej Barć
2024-08-24 15:44 Maciej Barć
2024-08-23 13:00 Arthur Zamarin
2024-08-11 19:50 Arthur Zamarin
2024-08-10 20:16 Sam James
2024-07-21 18:56 Maciej Barć
2024-07-21 18:56 Maciej Barć
2024-07-21 18:56 Maciej Barć
2024-06-19 12:46 Maciej Barć
2024-06-19 12:46 Maciej Barć
2024-06-04 15:17 Maciej Barć
2024-06-04 15:17 Maciej Barć
2024-06-04 15:17 Maciej Barć
2024-05-22  9:38 Maciej Barć
2024-05-22  0:53 Sam James
2024-05-22  0:53 Sam James
2024-05-21 16:01 Maciej Barć
2024-05-21 16:01 Maciej Barć
2024-05-21 16:01 Maciej Barć
2024-05-21  0:51 Maciej Barć
2024-05-01 15:42 Maciej Barć
2024-04-28 23:53 Maciej Barć
2024-04-28 23:53 Maciej Barć
2024-04-23  1:31 Sam James
2024-04-23  1:31 Sam James
2024-04-23  1:31 Sam James
2024-04-19 11:20 Arthur Zamarin
2024-04-17 23:35 Sam James
2024-04-17 22:29 Sam James
2024-04-14 21:57 Maciej Barć
2024-04-11 19:44 Sam James
2024-04-11 17:07 Arthur Zamarin
2024-04-11  4:55 Arthur Zamarin
2024-03-20 19:30 Maciej Barć
2024-03-13 16:40 Maciej Barć
2024-03-10  0:29 Maciej Barć
2024-03-08 12:52 Arthur Zamarin
2024-03-08 10:22 Sam James
2024-03-08 10:22 Sam James
2024-02-21 18:50 Maciej Barć
2024-02-21 18:50 Maciej Barć
2024-02-01 13:22 Maciej Barć
2024-02-01 10:10 Maciej Barć
2024-01-12 23:22 Maciej Barć
2023-12-17 12:39 Sam James
2023-12-17  0:05 Sam James
2023-12-17  0:05 Sam James
2023-12-13 17:17 Maciej Barć
2023-11-26  0:04 Maciej Barć
2023-11-26  0:04 Maciej Barć
2023-11-25 22:56 Sam James
2023-11-25 22:56 Sam James
2023-11-24 21:53 Sam James
2023-11-24 21:53 Sam James
2023-11-24 21:53 Sam James
2023-11-24 21:53 Sam James
2023-11-24 20:09 Maciej Barć
2023-11-24 20:09 Maciej Barć
2023-11-24 20:09 Maciej Barć
2023-11-24 20:09 Maciej Barć
2023-11-18  1:31 Maciej Barć
2023-11-13 22:04 Sam James
2023-10-28 14:05 Maciej Barć
2023-10-14  9:56 Maciej Barć
2023-10-14  9:56 Maciej Barć
2023-10-14  9:08 Sam James
2023-10-14  9:06 Sam James
2023-10-14  9:06 Sam James
2023-09-17 19:32 Maciej Barć
2023-09-17 19:32 Maciej Barć
2023-09-17 19:32 Maciej Barć
2023-09-16 22:58 Sam James
2023-09-16 14:48 Maciej Barć
2023-09-16 14:48 Maciej Barć
2023-09-16 14:41 Sam James
2023-09-16  9:27 Sam James
2023-09-16  7:04 Sam James
2023-09-15 20:49 Maciej Barć
2023-06-19 18:29 Maciej Barć
2023-06-19 18:29 Maciej Barć
2023-06-19 18:29 Maciej Barć
2023-06-19 18:29 Maciej Barć
2023-02-28 18:03 Maciej Barć
2023-02-16 11:59 Maciej Barć
2023-02-16 11:59 Maciej Barć
2023-01-11  3:53 Maciej Barć
2023-01-11  3:53 Maciej Barć
2022-12-27 13:44 Maciej Barć
2022-12-27 13:44 Maciej Barć
2022-12-16  9:47 Maciej Barć
2022-12-16  9:47 Maciej Barć
2022-12-07  1:25 Maciej Barć
2022-11-18 20:38 Maciej Barć
2022-11-18  0:26 Maciej Barć
2022-11-18  0:26 Maciej Barć
2022-10-15  0:12 Maciej Barć
2022-10-15  0:12 Maciej Barć
2022-09-20 23:40 Maciej Barć
2022-09-20 23:40 Maciej Barć
2022-09-20 23:40 Maciej Barć
2022-09-20 23:40 Maciej Barć
2022-09-20 23:40 Maciej Barć
2022-08-13 15:17 Maciej Barć
2022-08-13 15:17 Maciej Barć
2022-08-13 15:17 Maciej Barć
2022-08-13 15:17 Maciej Barć
2022-07-20 23:26 Maciej Barć
2022-07-20 23:11 Maciej Barć
2022-07-19 19:32 Maciej Barć
2022-07-19 19:32 Maciej Barć
2022-07-19 19:32 Maciej Barć
2022-07-19 19:32 Maciej Barć
2022-07-19 19:32 Maciej Barć
2022-06-19  1:30 Maciej Barć
2022-06-19  1:30 Maciej Barć
2022-06-19  1:30 Maciej Barć
2022-06-19  1:30 Maciej Barć
2022-05-11 22:25 Maciej Barć
2022-05-11 22:25 Maciej Barć
2022-05-11 22:25 Maciej Barć
2022-05-06 19:48 Maciej Barć
2022-05-06 19:48 Maciej Barć
2022-05-06 19:48 Maciej Barć
2022-05-06 19:48 Maciej Barć
2022-05-06 19:48 Maciej Barć
2022-05-06 19:16 Maciej Barć
2022-05-06 16:20 Michał Górny
2022-05-06 16:20 Michał Górny
2022-03-13 15:55 Zac Medico
2022-03-13 15:55 Zac Medico
2022-03-13 15:55 Zac Medico
2022-02-12 19:56 Zac Medico
2022-02-12 19:56 Zac Medico
2022-02-12 19:56 Zac Medico
2021-12-18 19:14 Zac Medico
2021-12-04 20:08 Zac Medico
2021-11-22  2:50 Zac Medico
2021-06-28 15:23 Zac Medico
2021-06-27 20:46 Zac Medico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1752097683.2218a1c480264b85ce5c9208b8ee93c178b0f1d2.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox