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: Sun, 13 Apr 2025 15:14:12 +0000 (UTC) [thread overview]
Message-ID: <1744557246.7493db627130babae26bd4b5a691a76bc478737a.xgqt@gentoo> (raw)
commit: 7493db627130babae26bd4b5a691a76bc478737a
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 13 13:15:03 2025 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Apr 13 15:14:06 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7493db62
dev-dotnet/dotnet-sdk-bin: bump to 9.0.105
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk-bin/Manifest | 6 +
.../dotnet-sdk-bin/dotnet-sdk-bin-9.0.105.ebuild | 171 +++++++++++++++++++++
2 files changed, 177 insertions(+)
diff --git a/dev-dotnet/dotnet-sdk-bin/Manifest b/dev-dotnet/dotnet-sdk-bin/Manifest
index 44eb5b214b92..877468a33c5f 100644
--- a/dev-dotnet/dotnet-sdk-bin/Manifest
+++ b/dev-dotnet/dotnet-sdk-bin/Manifest
@@ -34,3 +34,9 @@ DIST dotnet-sdk-9.0.102-linux-musl-arm.tar.gz 205458058 BLAKE2B d6db6f5725a3fb7e
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
+DIST dotnet-sdk-9.0.105-linux-arm.tar.gz 206126024 BLAKE2B 0971c8873cffdc69ccec29146465b95c742fa9ef8f536da9be7e0c99b079ee92e3f312d7d3661e37117405a3fa361d9220b952da2fc2df8cb9d278d726804ad9 SHA512 904aedeeb9a4ec89d5a6a9e5c5c060f20b9ad9a2e67b01c6f10bafcf75b333e797827ae55c3e0f2f3df3f1a7265eb31bd678a8674bb467d71e87cfb1e060c331
+DIST dotnet-sdk-9.0.105-linux-arm64.tar.gz 206392848 BLAKE2B 3564245bfe22b2477b76e499d840c6b0cd18f50a6d4dadd3b8ec42a0353c7e9870d6c1905fa5f2acf2783cc729cae032bd227351d9f07ada4afee850fb26f58a SHA512 6e184a6bf7f6b6800996f34976fe83ce0891710a95407221cdf53df7185f21dce9893efafc8cf1e7104f05a02ac55fe21aec3b1b6d161d7b7e086d729458056f
+DIST dotnet-sdk-9.0.105-linux-musl-arm.tar.gz 206143965 BLAKE2B 958b14852dba2af83cacf4c58604f4a6224f01f4e92716265477a688c19878b407ed775c871627181fa06c2cd835ec0f6d15c42bee148a1bfb609b453740117d SHA512 6e6cb0b8fdc71ef3945c1734bc85d31a961c0492856a762802f1a5af43590a898f92f717e8df29f0b585debe7e13afa11ed482b611821116c0513a246f239bd4
+DIST dotnet-sdk-9.0.105-linux-musl-arm64.tar.gz 206292427 BLAKE2B 682c28369d25a6371a5a3b8433b496f88d768fbc9b480e6723942592fad0d481a95b6e2d613b718214178442a43bb2beccd54c70d0b273bb6370a5f6104fbdbc SHA512 e22b57ffca4b5b17a97902e8cfa81be3bc9575e9762765b2f93c9e7f156f9a888c76f7961e0f8942080076ccac25cfecf17138e016a45758a4ffd8c5d7f21651
+DIST dotnet-sdk-9.0.105-linux-musl-x64.tar.gz 211211151 BLAKE2B acae8028bf151fcf75197d9a2d910dc74a2f77fa40c08a7a3c5d23035e1537fc768bf0312aaf02b5549cc947bc6d2b175a771d1006dc4c89adddf736b09351d9 SHA512 71291709bc0defc461f291d96f57f0626540c7723d82d300d1401d7a3fcd150b6ce78ed4b4b2996b1c4688deb2f75ddb0fd2b0ef221ab3d56bc2cf8e852c7de7
+DIST dotnet-sdk-9.0.105-linux-x64.tar.gz 211139177 BLAKE2B f2b85f5c75e7dd080609f7a7676195807012f94b24f8669f0f4fbb3f24580893e1aded2b05f95bd07ed7b3afe1753e03839dd94c8166fa4bc76afcfb28b2528b SHA512 f795bb35f432b71f940eb62bfa4ca3df5d708f497467ae16a67d2d19817a8f7e8cf5e6faa791412eb0da017be59ff93a2ad723675b3f3152f39bff64d545f4c0
diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-9.0.105.ebuild b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-9.0.105.ebuild
new file mode 100644
index 000000000000..8054637cd5dc
--- /dev/null
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-9.0.105.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}.4"
+
+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.15
+"
+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-04-13 15:14 UTC|newest]
Thread overview: 163+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-13 15:14 Maciej Barć [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-14 15:59 [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk-bin/ Sam James
2025-04-13 17:17 Sam James
2025-04-13 17:17 Sam James
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=1744557246.7493db627130babae26bd4b5a691a76bc478737a.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