mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
dev-dotnet/dotnet-sdk-bin: bump to 10.0.113
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -4,6 +4,12 @@ DIST dotnet-sdk-10.0.111-linux-musl-arm.tar.gz 232972345 BLAKE2B e60b51bd0a02c4e
|
||||
DIST dotnet-sdk-10.0.111-linux-musl-arm64.tar.gz 232205901 BLAKE2B fcc9609b6310033d8ba0071ea946b4bd2ee2968fb9fb8f996d2039952ddb74d29ef04ed9fb5bb3fd2dff0576e0abb89b5b2796fc997407c63637483ce27be2c9 SHA512 4b9dcbcf9df33145102abbc57ddc3df34cae0d79ddcb35be2504fd112a95f8c2ddf346c7a7ae1cc27188bd449dc7177e438b79b52abd6b249e2dc667b3081c2d
|
||||
DIST dotnet-sdk-10.0.111-linux-musl-x64.tar.gz 239701520 BLAKE2B 0b58d05ddf6aae26743f1bc6edc35ec097ee4341f841562de1b13cb25613b560808e8effc176f3eedae4f8c90ed913713a70ebfb9c2efc76fb285a75e83e38e1 SHA512 25164a4a4ac03650db7b74820f294987e64f35d77976fa070e2c7902cf76f8ae6d6b7d55ab3d10b2747268cc039ad4ecb885c8357cd611f6570dbc4e8aa8f684
|
||||
DIST dotnet-sdk-10.0.111-linux-x64.tar.gz 239732427 BLAKE2B 636bbe9003cebad89fd026caf804bfbda26a53ebd799e5ea94bd3ec63f03aebecb785dee86fe3c0db04dd3103b36646785c16928fb4757c4183ea9e0da12a89e SHA512 aae221be96a3b510d5b6fffefc69d8ad2fa595a1430299419316bb71c65f260a457ca9af24d044e1709b28a9118798caafec535ccfe58f7767c5acb735c00392
|
||||
DIST dotnet-sdk-10.0.113-linux-arm.tar.gz 233148368 BLAKE2B 9814de63e13e5d5911b666211fa7ac6f09b644c40b13629f2bcdc2b8c6498a73040cd440b3fbe91731824c0d0d99a39c64f7ab0de7441d6303aa24e866faefa5 SHA512 a2dbcfced57b6553f3d40fe526c15a8165e0ce0e215d2c4e3561e0adc49e60a25c4e8d970ab4b25d310d1b7abdf781979aa4d00dfdae8464fb360139031e90fc
|
||||
DIST dotnet-sdk-10.0.113-linux-arm64.tar.gz 232330720 BLAKE2B d03e5104351273177c0dc8def655678c7ad246af2e9ce2a6156fc42c325ad6030221afbe164ecaf37c7b58d15841cf5429c2661e2b0d3731f83b6deee5bc169c SHA512 5131414303459d9752bef022c89ec681b70596e54456ee1c78f18a52fb9233fbf3fdb18b57d013d131f121fc643d8f47e7da0148525f95a982a9b74ac58a9011
|
||||
DIST dotnet-sdk-10.0.113-linux-musl-arm.tar.gz 233155041 BLAKE2B b75c3d0bb2067e0aa3a497a43942ea11cc539e49908c3f06b9404fc9eacf8dc0290be29928f3eca972ee20eca83e2eed71b086626c84e4ac884d6233e2071c84 SHA512 6a801ded5410a2db8fe64fa2341ac9c47b36959f6afb568bcffc779d3797320f72e1c63a04bfc32b81a901c66ec31bd294a980b7be8dad4b08712ad94e85c4a9
|
||||
DIST dotnet-sdk-10.0.113-linux-musl-arm64.tar.gz 232369332 BLAKE2B 772d5366bfd75deee07855bfc224e2274099e7a81baab3d9de9e9412a19e79023194a136c8491de1d8f8d2d432c883fcb1fa4472f379548961d1235b00cf967e SHA512 250b7a901d068568d42475b9df9971b726298e2b66f07a0eee86a14ff10197433579207a77acd93e124c5cc169d76f087c9ac6ff5fced1821063aa36c8dcf4a5
|
||||
DIST dotnet-sdk-10.0.113-linux-musl-x64.tar.gz 239824389 BLAKE2B 894eecd954dee12d600943018a89edc8685f47300450d1fbe3f270efc59f86defd403bf36eee3f1a0a6f987e38864ad3c5fa828d7dc5cd68e1057613c228c34e SHA512 69b66aea05339888eeac5232790676e4d305c32881452c00548541ce9982395fb33e7bfc22400747f6c9abb90709abd3f470249953c76da2512e6855732c56e3
|
||||
DIST dotnet-sdk-10.0.113-linux-x64.tar.gz 239894554 BLAKE2B 6d099a0f70446ff71ca12254ba43989d94d8a68745f781d0d672ed3db29c3457729f9832617c17bdc159c6cfafe0b3e4a145c414e9ae042a57044017264647e7 SHA512 1f2746d3684ef782c4308e056e709e9361802e082e401aff3760868125009a8aee2803ff3eeb87587dc60c766e5dc4f9bfd6051c660a85602cc892c31f72256d
|
||||
DIST dotnet-sdk-10.0.400-linux-arm.tar.gz 233539019 BLAKE2B 2dc4669550e85403595dc909810eabfd3d9dacfc0eb53a3225ad5f0925f82d1d6637716f81bcf2b108bc695d7299c8b9ac70226ca941b9eb15e8abace97358c3 SHA512 6c0260ca5f735f299913eeb19851a4fc5e1a774f97de55c3f1d811799fb395261fba9132690c17a2963f24b2b356952bccd4ff654acf19f96a660676fad0c7b7
|
||||
DIST dotnet-sdk-10.0.400-linux-arm64.tar.gz 232525506 BLAKE2B 1d7240fddaa5bb2de1a40d03985628ec2f9acfcdde6ed63db593fe2c245c0da4cda1b65828b3842c8d2474822ad28f9e91fea4da9b273fa424b6f6ca2958efdf SHA512 a1b45da58e5591fff909a6126ac6bfc1ef9c12bc72c0625f7815e83a82be1a902317ee96926cbbf81324a45c6abf2ed8102a216d0507879cc166159af78d1b77
|
||||
DIST dotnet-sdk-10.0.400-linux-musl-arm.tar.gz 233289534 BLAKE2B 1549f4ec81b3eacebbb81f0a60229cb1f64833fb74f5cb58c58bd00e153afa5539e55db134ef59910d2afef8993bbc5a50485ef97773ae35964f2fb966e102b5 SHA512 603b3a32898ef1b36374c03ecf6a7b602fc3d01e8a9495ce80e1ccf0633ac878cd26b5a9e78ed038d2d4fb242291f00603fa35de52a49d480cfbf1438de34e29
|
||||
|
||||
@@ -0,0 +1,175 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=9
|
||||
|
||||
SDK_SLOT="$(ver_cut 1-2)"
|
||||
RUNTIME_SLOT="${SDK_SLOT}.13"
|
||||
|
||||
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.32
|
||||
~dev-dotnet/dotnet-runtime-nugets-9.0.21
|
||||
"
|
||||
NUGETS_DEPEND="
|
||||
${CURRENT_NUGETS_DEPEND}
|
||||
${EXTRA_NUGETS_DEPEND}
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/mit-krb5:0/0
|
||||
dev-libs/icu
|
||||
virtual/zlib:0/1
|
||||
|| (
|
||||
dev-util/lttng-ust-compat:0/2.12
|
||||
dev-util/lttng-ust:0/2.12
|
||||
)
|
||||
"
|
||||
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