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, 21 Jul 2024 18:56:30 +0000 (UTC) [thread overview]
Message-ID: <1721588184.36b743587d4ab53f356c990c0e8a51b8d019bd8d.xgqt@gentoo> (raw)
commit: 36b743587d4ab53f356c990c0e8a51b8d019bd8d
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 21 17:38:44 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Jul 21 18:56:24 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36b74358
dev-dotnet/dotnet-sdk-bin: bump to 8.0.303
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk-bin/Manifest | 6 +
.../dotnet-sdk-bin/dotnet-sdk-bin-8.0.303.ebuild | 158 +++++++++++++++++++++
2 files changed, 164 insertions(+)
diff --git a/dev-dotnet/dotnet-sdk-bin/Manifest b/dev-dotnet/dotnet-sdk-bin/Manifest
index e5ec8b295a7e..e9ceb479a50a 100644
--- a/dev-dotnet/dotnet-sdk-bin/Manifest
+++ b/dev-dotnet/dotnet-sdk-bin/Manifest
@@ -28,3 +28,9 @@ DIST dotnet-sdk-8.0.302-linux-musl-arm.tar.gz 217524374 BLAKE2B 3904054e1c5d4659
DIST dotnet-sdk-8.0.302-linux-musl-arm64.tar.gz 217376564 BLAKE2B b90fff2fc5d27598b65d8b2adf5b2b3a03b38b2332fa6a2fa4274b16f0cdf1f6b54fd7bbbe9b09e076690c357789e51172f67ae085d8476e33afa0d283410bae SHA512 bc504f76a5eb984373f96520c3ae0d439da9778bc4ba39455f89b809e203543ca164f3c27523b84245a5223ae7eed64931ea78a136041eecb1d1a226cd60471b
DIST dotnet-sdk-8.0.302-linux-musl-x64.tar.gz 222083567 BLAKE2B 361ced459b2c1d6a5ce9e6ec86b591749dae19bdf94ec2ef365f57876062bc558576ab132fc8cef36c2ead378b66886def886bef9d08d1300e9cc60fd7e79883 SHA512 8b5c2f13162ab667c84b371c5a9826173872f2485f806826b9df252537ca77c354b32cc58532e497fdf619f666413b1627e84d18bad616165b5454a8e2d110d2
DIST dotnet-sdk-8.0.302-linux-x64.tar.gz 222084318 BLAKE2B 56d7ade37162a3dbbd248f50a278338bf5a3d019b8001bb60e33e2a050c4e38cf3fecd958ed8bb6b7fb0fde9646bcc29e0d5aecfc13435ae9a6f2a8f0105c34f SHA512 43d0ea1df12c15a0e47560d2a84857ab50eb04ac693ab41413c04c591719101c4c8165e052a42a66719c67bd07ac299ca47edbb4944a2901df765042e56b316f
+DIST dotnet-sdk-8.0.303-linux-arm.tar.gz 218288787 BLAKE2B 7f689b9c695b2622f2489a9bb3b7d080e7f488d8c3dc63cf8bc1df0bba6fc7b97fd6407308c9998de40dcacfeea2e23eebbd4dafc7cd57ddb30b34819273c2eb SHA512 03b3730d1fd5e1955b8a23e69695c975e88e781513b1f47027ce4ed96a8743ba2560ca87ae2e937ebd89ef69a3aa05c4ca2f39eede5a27bd937775f372b9feba
+DIST dotnet-sdk-8.0.303-linux-arm64.tar.gz 218493906 BLAKE2B 2018811bbbde7835da9634635e479856e55a851eed0e6eed966cb8a125638c6f10f2a4687bc4134a895cbc4c8363b5ce878b8f8ebd2c5f37622452590f225f62 SHA512 09cb6b12770febe186e36971afdbcea6e8bf5fb34b7701cd8c416f597d3b7e930d05e51ccef1985e5598291540ef2d721187904587469300bb39772317e2be5c
+DIST dotnet-sdk-8.0.303-linux-musl-arm.tar.gz 218348934 BLAKE2B 4461a1b2cd3229e91cdffe315b04561029694f5425b80d00b57a3517c56952a3b93245ef7b4ccf156089252f3558b5324cfb9b25af1ba26dca293590528cdde8 SHA512 5e119bf1496bebd3b62d0c0c837bb8e8695784c91f9042771b01b47953d82e59605d7c04f2b821340792ace2966587a10d980bebeb8f9a39f1e8e4588ab59a6c
+DIST dotnet-sdk-8.0.303-linux-musl-arm64.tar.gz 218434418 BLAKE2B 2ca5f6999542f39325b6fe4c80a202d3e8fd931c958c97b6c08a2d8a27c509ee3c876b739ad3bca3acc951d73a10a25ce1a6315217c4080a7a4302198d80bd7d SHA512 88a42a0a9f0b6981eeb0d2cdbde0fd98631d57c09ddca566bc1b4d4b99a9165e276a3434f6804bd54628387edae99c8f0025e889c0e06ade0defaf2fa5858d65
+DIST dotnet-sdk-8.0.303-linux-musl-x64.tar.gz 223120552 BLAKE2B 7a8c257cd1c723d7232481a134b499afa0825f561957ccb0c2aa5baa6b20114e4db0d19fcec25a54ac8020799b6fd7afa582c9d221fc2a9208cd4f2b495e5e58 SHA512 5696332dcfa1dd16f897f68dd190e45f6604fd8228d563394ef9da09f2ff99214ba23b80fa416b7748a5c34912eb42523ba83138d5cbc4468e1efc15b747630a
+DIST dotnet-sdk-8.0.303-linux-x64.tar.gz 223236164 BLAKE2B 3008c5b3f84a965b717b2f51733cbf6d5ba218f5ae97dc250a2e7279e645b8577d8b6d5443f73e8130385d2263196f954ba6bfa64a2b33a8685d0c5a4035ed19 SHA512 814ff07ccdfc8160c4a24adfda6c815e7feace88c59722f827a5a27041719067538754911fc15cb46978e16566fe0938695891723d182055190e876131faedda
diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.303.ebuild b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.303.ebuild
new file mode 100644
index 000000000000..ef3952b20a53
--- /dev/null
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.303.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2024 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://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-x64.tar.gz )
+ elibc_musl? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-musl-x64.tar.gz )
+)
+arm? (
+ elibc_glibc? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-arm.tar.gz )
+ elibc_musl? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-musl-arm.tar.gz )
+)
+arm64? (
+ elibc_glibc? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-arm64.tar.gz )
+ elibc_musl? ( https://dotnetcli.azureedge.net/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=""
+
+# 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.32
+ ~dev-dotnet/dotnet-runtime-nugets-7.0.20
+"
+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:[~2024-07-21 18:56 UTC|newest]
Thread overview: 146+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-21 18:56 Maciej Barć [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-26 17:19 [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk-bin/ 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-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=1721588184.36b743587d4ab53f356c990c0e8a51b8d019bd8d.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