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.300
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -34,12 +34,6 @@ DIST dotnet-sdk-9.0.108-linux-musl-arm.tar.gz 206133993 BLAKE2B 4a7a0772a0f011c2
|
||||
DIST dotnet-sdk-9.0.108-linux-musl-arm64.tar.gz 206542192 BLAKE2B 076f1d6aebe14655c6850c8cdbab497ef7731e7235e6b9adc7c164d22810cc986abad3a24de21e22d774441b3b4f03bbfc6a5047dffc4944608546e932fca51a SHA512 2fc78667affb757a707175a3b0c557985e2ce930a7503f4aa84f20b082d9886a35a0f0df54ba1902d78b02d618fb7c8899dc4ea99698ead43c7cc565cf55ffd8
|
||||
DIST dotnet-sdk-9.0.108-linux-musl-x64.tar.gz 211500639 BLAKE2B df973f7c79af38a1f4736d662463aa9fee27fbc72e9fb18142770776451ed99700e0f45c8eb06e33058d4b099556648ba44c401fbc7c93fce3911f5d340d7a56 SHA512 0a6079d484a1d104f6faf05fece25350e9c18b494dcba33868d9294c7c2e6c936e7a19e882c65a7577b3678c421e40dfb691ea9504a67d65aa8d5b892b97318c
|
||||
DIST dotnet-sdk-9.0.108-linux-x64.tar.gz 211362374 BLAKE2B 7143023620e206d99984ecb24774d3ce4daa7155806fef7f2e90002d4d0330b47247ef34cbb2a06f74126e492d34887c20427373e5e874d6e0a8d133a12131e4 SHA512 8c2d988e998b906c71684cbe9aec9cbf2b65cb31ed8c3eb15a6e65f961b031faeba32d71997f50d56e04e6f0081f860480722dc1693c6b015543eb61acdb5876
|
||||
DIST dotnet-sdk-9.0.300-linux-arm.tar.gz 212625737 BLAKE2B deeb334bb88f192c0e036cb70127a13b1ff6b359dcb1a272b303a57bbd534b333b404bbb2c4dd97ba5f5dfc2e801bea7eed4a713f13bfee1c68964b26fdd29d5 SHA512 ca20957d3f4a09bffb86bb21b1379ff19bc62907b50d37090bb705f28064b064131aa01ca4328a29ac66365ee5539fd3152efe79c61294ad7958b19e6114d4de
|
||||
DIST dotnet-sdk-9.0.300-linux-arm64.tar.gz 213033038 BLAKE2B a75d670dfa72c8af3277b9271e09aa0b4d138c6c275ae3e018994363aa8d0e8df82edf7185fde8e1a8c8259a1d18f2ad2a53155c41fccfc1fa6e923ee8a8e85d SHA512 c3c48b256eaf0a662412dc8cfbfa387bb97f3af84ae9cb1aba53f2d34afa5ee735c87b979549ce97eb3aa451c12bd3b10e6453eea6d4ac096d9eeecaedaad540
|
||||
DIST dotnet-sdk-9.0.300-linux-musl-arm.tar.gz 212603345 BLAKE2B 29b1fff839cffa28d1a90c75a35ae273f602534121956c398e446c0e5fc5ef11c8edd03765842d4683e851a8b02eeaae58d1b0005e53cf5a09682a06ddb1a6eb SHA512 e19f4f7bfce95e73112afde42e7c16c897c016195ebb36f4e411a3bf1aa939f4c1456f9d4abb968dc8eba75531c8edaeb673df0e9e570d8dc5cb725ca57700d5
|
||||
DIST dotnet-sdk-9.0.300-linux-musl-arm64.tar.gz 213014876 BLAKE2B 90811082554da57bbf0fec25b68ec2d27f080ceb7f2422bf4d69f5940c591c26db2f4c33fb718de8aaaaefb7edda86181111a0c0bab258f1db44cd1512de496d SHA512 0d9c5bf285f13ac3206ce327effe384fbca11af739c82c222b274654866c58d88338d66b91d4517906d7abeba33e97dd869c75b52b7cecef10af3e6e206eadb2
|
||||
DIST dotnet-sdk-9.0.300-linux-musl-x64.tar.gz 217831069 BLAKE2B eb6eb56b6be4fdb393761898a9a3f58b271d0c581b8397fd969ffe649ab058e7b5111ff3cde1cdbc896bb7f4ffb09f3f565a8e0d87b8c0954923220e8f341569 SHA512 a03fd3f772f288c501ae0cb950ac9a3491785d0f39660fb12814a9fc40d58f7dafb835a3ffb8e5e4016a9d199d0dfb960e053bbb695b54a5803967f1f2f2fe33
|
||||
DIST dotnet-sdk-9.0.300-linux-x64.tar.gz 217847129 BLAKE2B f83acd3e70f25f83048c335b9d9ca3c15e3ae91938f1e87b27430f66e613c5331daf08729a66b73de30a741a317dbca73060bdab88b98f73dfac2a04d376e3ac SHA512 dcab6daef3164390d09edc169d4bf8ec3480af1288e9766c07d20d3c7b70517d263083c3900381fda59c3a7f0aef3fd75ee4f604173c889e8222d6449091d843
|
||||
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
|
||||
|
||||
@@ -1,172 +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}.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
|
||||
# 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.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