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: Tue, 04 Feb 2025 12:52:31 +0000 (UTC) [thread overview]
Message-ID: <1738673546.57c185c3022064d26b580cb724ddfcb7473c6fa2.xgqt@gentoo> (raw)
commit: 57c185c3022064d26b580cb724ddfcb7473c6fa2
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 4 11:55:33 2025 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Feb 4 12:52:26 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57c185c3
dev-dotnet/dotnet-sdk-bin: bump to 9.0.102
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk-bin/Manifest | 6 +
.../dotnet-sdk-bin/dotnet-sdk-bin-9.0.102.ebuild | 171 +++++++++++++++++++++
2 files changed, 177 insertions(+)
diff --git a/dev-dotnet/dotnet-sdk-bin/Manifest b/dev-dotnet/dotnet-sdk-bin/Manifest
index 78ec035e6a60..f17854647789 100644
--- a/dev-dotnet/dotnet-sdk-bin/Manifest
+++ b/dev-dotnet/dotnet-sdk-bin/Manifest
@@ -34,3 +34,9 @@ DIST dotnet-sdk-9.0.101-linux-musl-arm.tar.gz 204932960 BLAKE2B ff45915cc58e2c5a
DIST dotnet-sdk-9.0.101-linux-musl-arm64.tar.gz 205372709 BLAKE2B 7dc36729384f4b701c89a57de5deb99f3382abc7b644ff896a8b606bf73f122461a12ac1ab12ca9472dfa3bc214a9c332d7123ff03a7fa51405e533c85f7341f SHA512 6a6d6a6d6dfbdacb48374c0ac9bdb1c93781f3970c8778b0bee1f159a22b00176868264e605331fef833cb9fed829b4ffd414276d0d1140a8b0e257195c2f374
DIST dotnet-sdk-9.0.101-linux-musl-x64.tar.gz 210448851 BLAKE2B 36ff6a5d671950d44a39456f2812004074697e8990e4576fa00480cd826c85671a12710c4eaadd846b0c738220efd4e1c03e07529b0bb468b5352f368001ceee SHA512 3f4e14fb7b52dfb57b1e31cb5973e6e0a338f7f030f12b3082d3b55f12f9587ddf4926a7c5fcf86b7671397e44f8e5c20fb949d70e9a7dd0dc27be73a548dffc
DIST dotnet-sdk-9.0.101-linux-x64.tar.gz 210346874 BLAKE2B 3695630974f5f8bde4a3b2071072e4afbb848446db0161c061ed59e11b56073af38493256cfdea41cc6692a040dd180cc9af4302af55789a491e72f96741c0f5 SHA512 91b37efd64242e5f1f3c2025d183eb34e17f3a9271c5602f29ddf794845eee103723ef955ed869788ebf5a731e8ddc69328799c92c64cb118e1328d259a6ad01
+DIST dotnet-sdk-9.0.102-linux-arm.tar.gz 205235672 BLAKE2B 359e8c18382874b7b0910f4a97eca3141f9ab806c427b971b45df8a7a73d4b93936dac01a5e7e45fa5857d476ed6afa89c2471e7f4b95f5c47c98dbab3abf50f SHA512 2c4c69d46c3e57ed990518a9d82963665d835c66a57da54b9d21e22c2a20e8018020dcb190eef54dfe68c001fcce385361eb2bd29896311a1683599ff9e6a777
+DIST dotnet-sdk-9.0.102-linux-arm64.tar.gz 205648559 BLAKE2B 858500dfc5d13f862a20cb5d68af8f36a949d293098a8d196c9c026f8a9369506c21b8724082cba5bc5eecd6903e97c46e9083408762dcb59d1c098e6bd93559 SHA512 cb78931dcbb948a504891f112f11215f2792d169f0a0b53eaa81c03fc4ba78d31a91c60a41809ae6e2ddcae8640085a159e492035cedfda68d265bbeb4bf8b2e
+DIST dotnet-sdk-9.0.102-linux-musl-arm.tar.gz 205458058 BLAKE2B d6db6f5725a3fb7e99ba38c96a9f0e4da70bb3b9ebb455665922fd8bab3f0a0add75f1e5a3c43393e53a87a0a9e4bce71d98d13148872d8bbed14be2c1cc5c07 SHA512 e363e3d4edca93830d18bcebd41e01bf2856b095ae70e1a24b0533abb0a507e4c1f1542ff3046c285689318dac7e2b5c71a166bcb5933a8ab68d800bf3eedf03
+DIST dotnet-sdk-9.0.102-linux-musl-arm64.tar.gz 205773161 BLAKE2B 0a939d986d15dbc215785529faef8aaca045026469e4cc5ead736cdb764e67882e91b08626d33452ecbd0c95f7834574c9d2685a34c3de491b8b4c96e9e53b8f SHA512 5da98e46c280e21c3734a0c9081e7ddb78ad62775a51a129b42a6f021330d263a875da2f44a7aafe8156e7c9ae0f9bb21b502057692b360f2afe0882f0e61132
+DIST dotnet-sdk-9.0.102-linux-musl-x64.tar.gz 210712549 BLAKE2B b9eaed3f609a75704e8707b69643b0539e2d10ecd69443f8e6feb6197315fe993de8c14a2543f58ac64c91480e0acff2e20647f7dacc46c830d12b517dbd4663 SHA512 60e091854d17da9a6011569f0a4819eac72ce6fe06d01757feeb83ad56c17645fa438257631ecbbf6ee94ac3a973eff9ad4d3e12deadda3eb41c1b69ca8d5308
+DIST dotnet-sdk-9.0.102-linux-x64.tar.gz 210604728 BLAKE2B fb95b1694a2e54bb05f323d546c4077b8e574ba39ffe8b3bdf33d72fa6e45b2dd13d38eb52b08ddcf1fe143fa596a3ca1647b980f8de7e43fea316b8b6eca1a7 SHA512 f093507ef635c3f8e572bf7b6ea7e144b85ccf6b7c6f914d3f182f782200a6088728663df5c9abe0638c9bd273fde3769ec824a6516f5fce734c4a4664ce3099
diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-9.0.102.ebuild b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-9.0.102.ebuild
new file mode 100644
index 000000000000..1986abec12bc
--- /dev/null
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-9.0.102.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}.0"
+
+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.12
+"
+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
+}
next reply other threads:[~2025-02-04 12:52 UTC|newest]
Thread overview: 157+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-04 12:52 Maciej Barć [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-04 16:52 [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk-bin/ 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=1738673546.57c185c3022064d26b580cb724ddfcb7473c6fa2.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