mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-dotnet/dotnet-sdk-bin: drop old 9.0.302-r1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -28,12 +28,6 @@ DIST dotnet-sdk-9.0.111-linux-musl-arm.tar.gz 205871077 BLAKE2B 46ba6f7ceed554bf
|
||||
DIST dotnet-sdk-9.0.111-linux-musl-arm64.tar.gz 206267314 BLAKE2B 8b6dddd92138a254004e72f97190e7d06c2ebf1ca2093bcc40a973586e86fc6d51b6c259316e11e08353cbf3d18bf3d1def06938955dfc93569dbb9cf93aaaae SHA512 9f91b1fca6916d18f36c84c144b3b5019dfaddff2016ff0ad4defd2efa2143806e3bca193717c6e62006f5ba4f124afa9ebe4c2f11f9540f7de3ebb06ea3eb2b
|
||||
DIST dotnet-sdk-9.0.111-linux-musl-x64.tar.gz 211108576 BLAKE2B d0afced4c0873c74accb76493564c06dea908bb4f6abb72b718f39ad6b6a58e362357028ce158d78bde47278c4cf78bad1c4c3022a1236adcd27e2b96685fcc9 SHA512 f80984ab6c3422971de9f23592fc91e30b7139006ed4fec811a1936bb70a2de023cafdbca1acf48078ba82fc1681979fc141cf09b7eddb3331f2d176de14e6e6
|
||||
DIST dotnet-sdk-9.0.111-linux-x64.tar.gz 211180852 BLAKE2B 5f3611726302b7e5d24cd24faad6b5004ec5a5ed487ef7c38f7e30cd8cbbb74e3a2b95f0a7445060588aad47778d7d543ea236de78619e73f57f8ca668ab5e2a SHA512 927820957afdf38d2b4cdb3ca0d24ce71d67821f50a7f71413c38e627b87740c5a9bb0e240498beb7aba536bc1cbac0e7dd41b3025ecf8643c4ee40e973d2963
|
||||
DIST dotnet-sdk-9.0.302-linux-arm.tar.gz 212521231 BLAKE2B dff45a7644e0f11f6e75699e5a04650513a9a3f8fa86fbf8f0e7d35a7546627d64f37b047f6e142fd513283169d0d712507d659f55ae93a6e685946a3cc3325c SHA512 880500176abc263b9fe4d9fd5b3f77b975370bcc76af1453b5b776d835329a5a9f3e02903ced3ee3419ae6f7e0e99cb964b585bb430da75d6623dc2965c46081
|
||||
DIST dotnet-sdk-9.0.302-linux-arm64.tar.gz 212925183 BLAKE2B 7377289fc6a166de65edc7c622d22936a8bcbdebed308ea2bcb2f3ddede6169c7377756c65e515c4db32050cb53225b8853dedba679c610d4da880b653013930 SHA512 dded437c836b201219ef8cb1993e50c3e96a9d09cd2541ffe2c0810530e737dfb44adb8dd766caa2f02def0d0bc2ac9c563a189f1cb1ca6a64d9f71251a94141
|
||||
DIST dotnet-sdk-9.0.302-linux-musl-arm.tar.gz 212607437 BLAKE2B 058e7accb6cd428f2755e1b49d727f7011e3badcb978d9a6e0abef84b6688997c4c5457d988b6a99e894c7719b2726d655339705e117000e0316d5eb7ef98c1b SHA512 f42092ae79719b3ac136e9f634bb81251d75b73551e0d8661e8be8b5decb23633f0877ff1e1fc60b16509483e20b49dac9c7a4cc6093848d1e9da0f7c6a93c37
|
||||
DIST dotnet-sdk-9.0.302-linux-musl-arm64.tar.gz 213109821 BLAKE2B f84f8f83cbe3e2b6010251e48ad5c9da85923ead2b3ef500604a22ed4ccdaf68cef7717a7d4364ffb08fb8148f72a7d64de5c804afcd0c515fd3c4846c28d7d3 SHA512 c84b1b419aaf2d778b080e019f0937897dc8a64d0612a3c2203acdcbb1ff598847a87a3ec3c688f3d03accb2180752b3c9b10043a60478347151bab3655ded1f
|
||||
DIST dotnet-sdk-9.0.302-linux-musl-x64.tar.gz 217948829 BLAKE2B 5b8c8d32b3078097643f50fd147b1f643af97deb21fc7b36963593be29255dcf115904066b18f27293412fc34fc7d9db35ae3e68be234d1a067457da54ab307f SHA512 01a0138fc5e6b05f6bf77f51b225cbb73606552f121f7c947e4a9c5db45775d4031d79a4ae1fc6e6b3b5d6388ecd2b0d503e5447b2e892fed9539a0728e624dd
|
||||
DIST dotnet-sdk-9.0.302-linux-x64.tar.gz 217911201 BLAKE2B b7528b800a2caf785b67bcd8aaf2b7dcf299863d19719490499f383df39bd6c62e47ac0ae3fa179e6f180bb0a694e4ca5eb953f2c029cfeb3398755c5fb58deb SHA512 fe46a96e794388b345105e47896e4e91099ffd907a7127ff2cadf76adb3a7be0b43f0cd8d2c376ae455283d08f4751f7ef11890fd2697304ef114447ae209c88
|
||||
DIST dotnet-sdk-9.0.306-linux-arm.tar.gz 212658801 BLAKE2B 590f7db88724c6e94e3c99494fd5ccff7af5c10f39c37797119d2e82ce9bccc0c3eeebf7a80d540e0e09239f95b802f2a1e6087502e406343d444a3e4f1e5373 SHA512 45f65947801961f8dc93c7ab7d28906eb34b0bd943e155fd7113bd9603304bb98cd1eab80c6bab5bf365aa9512c6796f1e820bd5c54226529a4f9f96cffeb31f
|
||||
DIST dotnet-sdk-9.0.306-linux-arm64.tar.gz 212953097 BLAKE2B c782634812ad52ba3ef99bee857e1653e4f6c1a4c08968b9276a4c5cd8825444c6b2e9d0e6772838016edb72beda8112ecdb53601d0be95e53f7a176590efea8 SHA512 72667eb4167308fec780a9fbb59a16087d1015afa09ce771a04e21663782cabbd59c395587af6835dcc1f34e2e677c765e44dcc68a446d2caa4ed4a4a0e329ee
|
||||
DIST dotnet-sdk-9.0.306-linux-musl-arm.tar.gz 212725036 BLAKE2B 9ea2b4ce7a302962e5bd731a5958ac2564563a941d74f6d112b6acbfb7e895e41991073ad4f3e3e9b6b74a74fa263a9825bc44448647699cacf44dca0a8db1e5 SHA512 b6ae08e0e135582570049e7b420b7002fd425509ab514a0ac55a79bf1ebee96e393817f69c6432e3f9cbf24508f126f7d6cb17dc46eb5605727999d6f6c9e099
|
||||
|
||||
@@ -1,175 +0,0 @@
|
||||
# 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
|
||||
# Latest versions are unkeyworded.
|
||||
# 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-compat:0/2.12
|
||||
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