mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07:00
dev-dotnet/dotnet-sdk-bin: bump to 9.0.106
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -34,3 +34,9 @@ DIST dotnet-sdk-9.0.105-linux-musl-arm.tar.gz 206143965 BLAKE2B 958b14852dba2af8
|
||||
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
|
||||
DIST dotnet-sdk-9.0.106-linux-arm.tar.gz 205885925 BLAKE2B 5100e83d12d7baf016319841d32d2499807195857d824c7d38e1ec1f453614e46270be8f826a85c05fe8905f7334b7bd2537b63e5692526b45b236ce6c52050b SHA512 2318c85784c7ba43a243e0f5262c78cc2984a95fceef8b7855035853d9c7b420b7eb681c8df8a23969926d6652c6937cfb1b1c2961e0a155c6f145302240b4d3
|
||||
DIST dotnet-sdk-9.0.106-linux-arm64.tar.gz 206456022 BLAKE2B 88b0ccbb9482aeb9bbdb46d035ab9a3ef59596f7a4fc8f105d2f28d1767f20fc29c474948bf76558c330269c5ecda2a6bc77d5c266156b4892ad5eb45fe7fa1c SHA512 18063ed539efcf97a6826b3a367b92574338663e815e4c7ad273a17524a7ab5e35d407596f5cd6b1c0a37e695b17a915620c1445ca89bb851ab0ff34acca34f5
|
||||
DIST dotnet-sdk-9.0.106-linux-musl-arm.tar.gz 206081948 BLAKE2B 26aedb507254da4ec82bd51728c0039c29571fcd230df0bd7ec46b37f7ca9d967464a782fba7b1403d83835250d43d98e4f88d669a68141878b1d440233e8fa0 SHA512 2c9aaacdc43e2da8bc64db517b4ab40f387f912932dc26e99f43338bffd2ced8674725ed185e60ab3178f0e4e723ec5fc29774f62b337acd47521bf389ae16cf
|
||||
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
|
||||
|
||||
171
dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-9.0.106.ebuild
Normal file
171
dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-9.0.106.ebuild
Normal file
@@ -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}.5"
|
||||
|
||||
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.16
|
||||
"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user