summaryrefslogtreecommitdiff
path: root/dev-dotnet
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-10 06:44:55 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-10 06:44:55 +0000
commitf617f04203a0968020e5a7252e865803636af918 (patch)
treed05c93d914912359b74f6f31b27bd1cd719f8bda /dev-dotnet
parent013635213f8032704e1ec9ae01e9303e63a2efbb (diff)
gentoo auto-resync : 10:03:2024 - 06:44:55
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/Manifest.gzbin4300 -> 4303 bytes
-rw-r--r--dev-dotnet/dotnet-sdk-bin/Manifest7
-rw-r--r--dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.100-r4.ebuild157
-rw-r--r--dev-dotnet/dotnet-sdk/Manifest5
-rw-r--r--dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild2
-rw-r--r--dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.201.ebuild207
6 files changed, 212 insertions, 166 deletions
diff --git a/dev-dotnet/Manifest.gz b/dev-dotnet/Manifest.gz
index 63d8fac4e800..e87e7ec23f33 100644
--- a/dev-dotnet/Manifest.gz
+++ b/dev-dotnet/Manifest.gz
Binary files differ
diff --git a/dev-dotnet/dotnet-sdk-bin/Manifest b/dev-dotnet/dotnet-sdk-bin/Manifest
index d5c99959c045..0203953fd777 100644
--- a/dev-dotnet/dotnet-sdk-bin/Manifest
+++ b/dev-dotnet/dotnet-sdk-bin/Manifest
@@ -10,12 +10,6 @@ DIST dotnet-sdk-7.0.404-linux-musl-arm.tar.gz 214217752 BLAKE2B 32d392dfd4d4e60b
DIST dotnet-sdk-7.0.404-linux-musl-arm64.tar.gz 213918271 BLAKE2B a310e95905ccb65506318c10fa4d492baf822dd143ac3ded8e9212ab0f304e188d0728deeeb03a0d34d3ab95e88fbc2d4fd4d727c2841bdd9401cf27396edf4b SHA512 209f29d23945d61d8d2bce57ed120b970ffdde7a23fcd397602e4755ff4be6ace2284d42297708e7cb2ef8a2f569885b0595b218e01b84b923c76c58fee1adb4
DIST dotnet-sdk-7.0.404-linux-musl-x64.tar.gz 218631734 BLAKE2B 4dc1d752cbb6c60d494be3b8fd9e1bdebdca0f48e5c61cea2948ca384c9136b87612cfd89a77cd9960b4a660061c3f2791ce8be1987edade2d0c70e28b325d1d SHA512 db21720eadc79fadf62332cf0a10bbf8c83a96521b25967e69ce54a14a16d9098abb9c8d2c263170332a30ccd0fd1eca92129a1e9fc3c3460fc265ace38bb04c
DIST dotnet-sdk-7.0.404-linux-x64.tar.gz 219088775 BLAKE2B 5b743021dd2209228fea77c7b63dc423ce70f1e8bae317dca0d3cd4e62ea4f770b790ca64dd15173281ef8224fce6fc211b57fe5460ce0ed427afe4b2a064c1a SHA512 f5c122044e9a107968af1a534051e28242f45307c3db760fbb4f3a003d92d8ea5a856ad4c4e8e4b88a3b6a825fe5e3c9e596c9d2cfa0eca8d5d9ee2c5dad0053
-DIST dotnet-sdk-8.0.100-linux-arm.tar.gz 209804933 BLAKE2B 919cf3816025de76c3f8a3d209471475b610ede43e88ab7e76545998cf3351275f9ff16d370c9f9c46904af12e3faf283bfa8797f003f9b7f756eac7b1fd01fb SHA512 bcc741518c7ee442e74ee4160f02f35c06e65b6d53265b2b0cfb6502d07e08fc397b7c3f4aecfc59dd173b875f7ceb6dc105fd3d1715c31216fabee068162d5e
-DIST dotnet-sdk-8.0.100-linux-arm64.tar.gz 209599630 BLAKE2B c88d2cce49821a253c14c078bb1a2149619701c1b5df55d3690a037c7782eddac274e2ad78cb58422ea039fe0d02078e8e8b751779ab06b8e22bfafc993885f3 SHA512 3296d2bc15cc433a0ca13c3da83b93a4e1ba00d4f9f626f5addc60e7e398a7acefa7d3df65273f3d0825df9786e029c89457aea1485507b98a4df2a1193cd765
-DIST dotnet-sdk-8.0.100-linux-musl-arm.tar.gz 209741218 BLAKE2B c4f307e3b9300cc6dec2f5d810fde9d6d9533913fc8cb550fa9f352096eeb3d00710835f7b9f68a189481c2c93b3c47f14da2a3a8548e31a8b57ba7b15367a71 SHA512 a8c08c4eaaa1ade3a1521750c62af92ab8fe91bfdd0f4767f8c0469ebfef091f3a68a443d4566bbfe53c49866d72a104c7aea309cabb36148f9aef9cb950ea64
-DIST dotnet-sdk-8.0.100-linux-musl-arm64.tar.gz 209645572 BLAKE2B d17f86d3bc310f26eb2fae6ebd059f353fea2e715f9e20d60b3a184923982cbe508eeb32bb3372ad65014b31fcd1a8ea551fbfc43ed8cc6c97cd4c4d5dd25789 SHA512 1d8e54ab8d2b7b83972c1ecd7a23073bf83d39c258e993e54ab91a383ad2aa44276dfc28938f7b162cf79010187005e42a665933dff021ffa5e5d9cfadb5e2b6
-DIST dotnet-sdk-8.0.100-linux-musl-x64.tar.gz 214391625 BLAKE2B 3757f0e2119f236c40ca36dbb7819024aa2e799d265f7d3bb55fdfdd31baa97d10fb6b2dcf1631f7cb85687669dd18dca7d485a032d5ca581d8471ca7c198997 SHA512 a904491cf1fe27603cfc21aa234b2f4da7517929fa9dad0eaa2233d010ef1e890339ca4b8e3c4c0d463f3015d7020a0c37ece97319b061cd92a5fc51cd8a7f4c
-DIST dotnet-sdk-8.0.100-linux-x64.tar.gz 214395068 BLAKE2B 3bd1d2b803f0bded06fb5177c18ff3a8e50298cdd7a5cfca48adfb36aaca1eb2b01893960935a564d76407928deeff1893d493f0c42a25da703e27ec52d5d74e SHA512 13905ea20191e70baeba50b0e9bbe5f752a7c34587878ee104744f9fb453bfe439994d38969722bdae7f60ee047d75dda8636f3ab62659450e9cd4024f38b2a5
DIST dotnet-sdk-8.0.101-linux-arm.tar.gz 209595185 BLAKE2B 75e9ea5661483fc3dad66bcb0c91e09f25586a72b617adba0235c09789d550f094c28201c7ab7a7c3d08ce55922868f74bd994515572f5f628f9b258d9d75040 SHA512 59e0902fa190dee8da1644135e0477ced70fa02ecc12f79c8947743a77a160861ed5e44f8a4228815f853141856d4e3a1db1bd057759d3bff980a79b7d849689
DIST dotnet-sdk-8.0.101-linux-arm64.tar.gz 209542458 BLAKE2B e08634fbd014edf8e41f42bca85f328ef22bceea388007c355466b4cba1e225ff3cc547a532e790acdca0be93c62afd1e21c17922fa1ed978ececf7d5ad340a6 SHA512 56beedb8181b63efd319b028190a8a98842efd96da27c5e48e18c4d15ba1a5805610e8838f1904a19263abd51ff68df369973ed59dab879edc52f6e7f93517c6
DIST dotnet-sdk-8.0.101-linux-musl-arm.tar.gz 209611402 BLAKE2B d833a8bcf794e3ea67d76c7d6efee1c51c69b1a00d76d5cce01f152f0e49f93c3f996b78c046098a50257f3fde35b50416beeb233756b042ba677aefa2838694 SHA512 764edb8803a68f074391714029800ef2309d212618790ba00506bba201a9655ea46e47d6017c89d78c9b1ef57e8e47352a63e8116a8b1f9fb169844745170172
@@ -30,7 +24,6 @@ DIST dotnet-sdk-8.0.201-linux-musl-x64.tar.gz 226193676 BLAKE2B 32b0d540e59e0e6d
DIST dotnet-sdk-8.0.201-linux-x64.tar.gz 226357468 BLAKE2B 84c6befaa5b2cfd54c226522fd937c3a48705aa46ee06f10e2fb9cec86496d8820342481e328ade8aef10557c135fb2517d34b70d3d37489dfe3fa81b6f58be5 SHA512 310cf54f595698435b533931b12f86d49f89d27243cf7c87a5b926e0c676b80e869aa58aaff17b5095536c432f377c67d92bf0ca8941b9d891d4b3879637d488
EBUILD dotnet-sdk-bin-6.0.417-r4.ebuild 3648 BLAKE2B cae115deee48b38c6ebb1eba1a4eea60d4d21d5378702aa1a72dd3569b548f1bbdfbe0f0030ec0911eb9f564d208c49fbba14712651d2da555cc778b5399a435 SHA512 36011a4300685da89ece02df2f3f4193e34976e3e38ea41c88937a1b90e4ba21fb0fa908e5544b90b4e3ccde89af9b15d86fdf9969233ca4e2a85e267cb45b0a
EBUILD dotnet-sdk-bin-7.0.404-r4.ebuild 3827 BLAKE2B ebeeaad4a1a335fff5ea6f07e0a28d65337b0d948626636bbe8435cc4fa7a8ef356fbd78b294dad0f9913b595775d45bc5a0ed45cfc0daf7705280b492224d18 SHA512 9d841acc5259e8c5f1ad98b1864bdec93b972c797ff7cfad17bd1ab03ad35a25554868f20167de622513ac47ab49f5e492fd9bad97256f7db5598abd6f994cc0
-EBUILD dotnet-sdk-bin-8.0.100-r4.ebuild 3868 BLAKE2B 9f0965a9c0662237d3f24741128c0c8539fedad7965462837d20271d4299d5424e7b7c956ba54f0fc2b0382ffe78bcee89e2f3259a9e3867fe3ae50770cd3ebc SHA512 59e1f1507c54637eb5ace597faeb7c9e9229dd4e0ea7b00aa2e4ac6a9fa7542153eb9b2411ff4f354cdc29adcc938e0da84548739a7ba863bdff3673cb6105b7
EBUILD dotnet-sdk-bin-8.0.101-r3.ebuild 3868 BLAKE2B ba09d2b5fff223140beec3a4ebbb4da702d8f00f6a8f41b3c0482e42bc708c8cde591b841431f5944b26657521ee0f69ed044266b552786b8220d062421adf7a SHA512 808ce28110f26ad42f0f59ec3b471db0530e7adf7ce2bf0e69316baf7694db4a0e9f0ac99d248485de04e65c4e71c3abf3757fcb2fa31dc25984283392641652
EBUILD dotnet-sdk-bin-8.0.201.ebuild 3871 BLAKE2B bf155a2c6f76fabbb1a1206a7fe7791b11f77323f32e34e371e5c413c63bc7463f0061feb8065034fa8eedac390d5bfe27f5aad35911982d1ca1b2190f0c54a7 SHA512 e7cd897b1cdeac1291916762ef1b80c5acd92a05eb16f0880425c65e44f2781a363f080abae5611e5776000f59fccf71c2d11898c1367786c629c7310cec7538
MISC metadata.xml 399 BLAKE2B 77e69a42625154f791fdf1e9559921a4e7aa077e91f78d3ec52779818287d05612080ca21a4199a3531e8d1af34a78f362a07b3cd89cd027dc1f0b6cf84fbbdf SHA512 d0b85e5ea0a2a4aa361d21a81218ef5dd68f6d51972addc771681208342075a860436a135e8f219cb5b4424f8a40d1dace8260c6c0eb1da3ef1a0dd13811c1d0
diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.100-r4.ebuild b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.100-r4.ebuild
deleted file mode 100644
index fdbb81c6c024..000000000000
--- a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.100-r4.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# 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}.0"
-
-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}"
-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.25
- ~dev-dotnet/dotnet-runtime-nugets-7.0.14
-"
-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
-}
diff --git a/dev-dotnet/dotnet-sdk/Manifest b/dev-dotnet/dotnet-sdk/Manifest
index 1ea24d89d76d..84e7cfebe857 100644
--- a/dev-dotnet/dotnet-sdk/Manifest
+++ b/dev-dotnet/dotnet-sdk/Manifest
@@ -2,6 +2,9 @@ AUX dotnet-sdk-8.0.101-runtime-64.patch 1059 BLAKE2B 9420e05c877024c694bf8f469ff
DIST dotnet-sdk-8.0.100-prepared-gentoo-amd64.tar.xz 1714535960 BLAKE2B fd6027b86168d8801b1d8a7bbb08e9c358918a7693b03fa4e7e43e2a58568a65d71e2c5907ec7c7a03b83685608cd16aa010706fb4d14cd44ab0f0669654c8c2 SHA512 75efdcf44383445bc81981e2077be03c7311db316e295aa7f960f50d65367cde9bd86351f345072feb827a569c8de4fa8c9829d92000d2cbeb312ee9ddc17b44
DIST dotnet-sdk-8.0.101-prepared-gentoo-amd64.tar.xz 1734234148 BLAKE2B 6fe6b9db8e8399d741c1c7c4b09f7047519fc61e452cc5b319a7e8070acf75685d409741a6fec6f020355a1e003585832c4900dd852d0554d4a456cdb9876598 SHA512 f2f07c647c607d02fc19eb045fa98224636ea5ba79cf9b2b8c28a1c0cbc77cc57bf5886268e94684ddaf5e3895c6c82fa62db11d53d7b8ffd1d31a0371eb4613
DIST dotnet-sdk-8.0.101-prepared-gentoo-musl-amd64.tar.xz 1736552596 BLAKE2B f533603b2d18aedb0c2715b0597973342cab0927f41215f93b6e139df7b666ad32d3cf92866388329d0a5ccd9b169c242a4d9179e03c14856f2572a1363d693b SHA512 0bf9c83fdd310425cb553b798357d0cb9a16608f1341f149a84acf66aa16ec4ff6f81d047c84c06f610d3a861e522c78005b63cec63f78e7e1eebdc80b8ec5a2
+DIST dotnet-sdk-8.0.201-prepared-gentoo-amd64.tar.xz 1794775828 BLAKE2B 72a12b5af020a7f7d77b45eefd147b6fed52889443bbf0a9c5464a8a35a9582af32b75587f73aea9d1eb72d053986d8a204904178f260b2c8532ad821389beaf SHA512 1f7727f22e91783aaec5bccd2324f9dc63700fc95625afebeeb3bde7a99a63754a086b38c1d0921b4536963cbfc53b9c995a2aca519e0edd529f542a89995924
+DIST dotnet-sdk-8.0.201-prepared-gentoo-musl-amd64.tar.xz 1790982284 BLAKE2B 010a1dee8e09402a22c0b45745a6ec7e511c88134ef984f51caa69051d7aec87dcb73392bc338508d5591ade1247e95f7708d4a83961ea665350b4ef29882e33 SHA512 611f96525ac98bae35592074d2f1d863c566080f4f52ca619546b547515f2962d9ae53317461e9bb803067d4381daab50f6c772134f9386bf36962998891563b
EBUILD dotnet-sdk-8.0.100-r2.ebuild 4363 BLAKE2B 7d272fa2b99574cc801bffbd7dd66ba8b4c9513b86f5b1cdd1c99e3f6c9c497215d553dd37681c48bbeb36e0729706c75881f9b11c92728b4d1edec7c35738c3 SHA512 b0bf62358782766203a41805ed1a0e88b1cca1ab4e8f08c72fccb4c797d9b8a8764ba7a7affec4fffce735b1eef6f4e6f6dd3e5bdc2b05964d3a22a2488a9d96
-EBUILD dotnet-sdk-8.0.101.ebuild 4823 BLAKE2B 32dd11d66ae344cfddb1cd75c07a3b48118403d771d51c71ea2e376ed86f06638cec020aaab338ec52e4101b9468b8d0dc7e5faa43317b085057c0e482dc70f4 SHA512 8f95159682c532a251529c8c09652f437f1c586ad6416c654d6998b468bb8d07b728d619fe975ad4fd4f12b2e21269639a48ca85158b55d4bf1fc832342f2381
+EBUILD dotnet-sdk-8.0.101.ebuild 4822 BLAKE2B 7e9d413bd274bbf1380b5e87edbc74fd6026a0207de6246e0490bce568f0c2591e9ee59fef1b5971ffee92b1d1f29752eece91699f3cdb062d9856a732897f21 SHA512 6b1ad75983623862255d3a29e89ef84accdce61ff7bf638070ade06fdc2496c7c6dfb63187b34b6cb861d854d7696db5530f6743bbc0b41b15503af9d4b40077
+EBUILD dotnet-sdk-8.0.201.ebuild 5266 BLAKE2B f8bac39f267d5c3cbb78e5be3c776fdfd14c5b80d10d23f9671609a8fe65bd465a3ee24dad4b2be589ed90b5627b0b1ac0cdc778375c76ac9cd2b7e7cbb2b8fb SHA512 3cd11893116beef1ffc90325273cb6ec259f8956967cca2a30bdd743811cc4a89c6a342fbbdc5be4a51e01d23ab1e5e14c415c6b3a01f64496cc17f6eff7b7d6
MISC metadata.xml 518 BLAKE2B f9733bd3b6b343126c400ce35dc7e4e57421a6643219341c4beab83d47beb1182306f3d0c5f1e7ff0854fd49818b2c6af37598170b88e2eb82b62d478735abf0 SHA512 940830b1208c39e4cfd72817d399156b027e5ac51dcc7bb983c9ec973f8f2ef76e440a2d358d15f7a2e185c42ae98c986210224f1477923967e3dc70eb0cfde9
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild
index 1662f5f5ee6c..7bd1126ddb90 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild
@@ -41,7 +41,7 @@ S="${WORKDIR}/${PN}-${RUNTIME_SLOT}"
LICENSE="MIT"
SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
# STRIP="llvm-strip" corrupts some executables when using the patchelf hack.
# Be safe and restrict it for source-built too, bug https://bugs.gentoo.org/923430
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.201.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.201.ebuild
new file mode 100644
index 000000000000..30849bfc89b0
--- /dev/null
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.201.ebuild
@@ -0,0 +1,207 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Pre-build (and distribution preparation)
+# Build the tarball:
+# git clone --depth 1 -b v8.0.2 https://github.com/dotnet/dotnet dotnet-sdk-8.0.2
+# cd dotnet-sdk-8.0.2
+# git rev-parse HEAD
+# ./prep.sh
+# rm -fr .git
+# cd ..
+# tar -acf dotnet-sdk-8.0.201-prepared-gentoo-amd64.tar.xz dotnet-sdk-8.0.2
+# Upload dotnet-sdk-8.0.201-prepared-gentoo-amd64.tar.xz
+
+# Build ("src_compile")
+# To learn about arguments that are passed to the "build.sh" script see:
+# https://github.com/dotnet/source-build/discussions/4082
+# User variable: GENTOO_DOTNET_BUILD_VERBOSITY - set other verbosity log level.
+
+EAPI=8
+
+COMMIT=b27976e5a6850466ee5b4ce24f91ee93bef645f7
+SDK_SLOT="$(ver_cut 1-2)"
+RUNTIME_SLOT="${SDK_SLOT}.2"
+
+LLVM_MAX_SLOT=17
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit check-reqs flag-o-matic llvm multiprocessing python-any-r1
+
+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://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}-prepared-gentoo-amd64.tar.xz )
+ elibc_musl? ( https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}-prepared-gentoo-musl-amd64.tar.xz )
+)
+"
+S="${WORKDIR}/${PN}-${RUNTIME_SLOT}"
+
+LICENSE="MIT"
+SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
+KEYWORDS="~amd64"
+
+# STRIP="llvm-strip" corrupts some executables when using the patchelf hack.
+# Be safe and restrict it for source-built too, 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.27
+ ~dev-dotnet/dotnet-runtime-nugets-7.0.16
+"
+NUGETS_DEPEND="
+ ${CURRENT_NUGETS_DEPEND}
+ ${EXTRA_NUGETS_DEPEND}
+"
+RDEPEND="
+ app-crypt/mit-krb5:0/0
+ dev-libs/icu
+ dev-libs/openssl:=
+ dev-util/lttng-ust:0/2.12
+ sys-libs/zlib:0/1
+"
+BDEPEND="
+ ${PYTHON_DEPS}
+ <sys-devel/clang-$(( LLVM_MAX_SLOT + 1 ))
+ dev-build/cmake
+ dev-vcs/git
+"
+IDEPEND="
+ app-eselect/eselect-dotnet
+"
+PDEPEND="
+ ${NUGETS_DEPEND}
+"
+
+CHECKREQS_DISK_BUILD="20G"
+
+# Created by dotnet itself:
+QA_PREBUILT="
+usr/lib.*/dotnet-sdk-.*/dotnet
+"
+# .NET runtime, better to not touch it if they want some specific flags.
+QA_FLAGS_IGNORED="
+.*/apphost
+.*/createdump
+.*/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
+.*/libhostfxr.so
+.*/libhostpolicy.so
+.*/libmscordaccore.so
+.*/libmscordbi.so
+.*/libnethost.so
+.*/singlefilehost
+"
+
+pkg_setup() {
+ check-reqs_pkg_setup
+ llvm_pkg_setup
+ python-any-r1_pkg_setup
+
+ if [[ "${MERGE_TYPE}" != binary ]] ; then
+ if use elibc_glibc ; then
+ local locales
+ locales="$(locale -a)"
+
+ if has en_US.utf8 ${locales} ; then
+ LC_ALL=en_US.utf8
+ elif has en_US.UTF-8 ${locales} ; then
+ LC_ALL=en_US.UTF-8
+ else
+ eerror "The locale en_US.utf8 or en_US.UTF-8 is not available."
+ eerror "Please generate en_US.UTF-8 before building ${CATEGORY}/${P}."
+
+ die "Could not switch to the en_US.UTF-8 locale."
+ fi
+ else
+ LC_ALL=en_US.UTF-8
+ fi
+
+ export LC_ALL
+ einfo "Successfully switched to the ${LC_ALL} locale."
+ fi
+}
+
+src_prepare() {
+ default
+
+ filter-lto
+
+ unset DOTNET_ROOT
+ unset NUGET_PACKAGES
+
+ export DOTNET_CLI_TELEMETRY_OPTOUT=1
+ export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
+ export MSBUILDDISABLENODEREUSE=1
+ export UseSharedCompilation=false
+
+ local dotnet_sdk_tmp_directory="${WORKDIR}/dotnet-sdk-tmp"
+ mkdir -p "${dotnet_sdk_tmp_directory}" || die
+
+ # This should fix the "PackageVersions.props" problem,
+ # see below, in src_compile.
+ sed -e "s|/tmp|${dotnet_sdk_tmp_directory}|g" -i build.sh || die
+}
+
+src_compile() {
+ # Remove .NET leftover files that can be blocking the build.
+ # Keep this nonfatal!
+ local package_versions_path="/tmp/PackageVersions.props"
+ if [[ -f "${package_versions_path}" ]] ; then
+ rm "${package_versions_path}" ||
+ ewarn "Failed to remove ${package_versions_path}, build may fail!"
+ fi
+
+ # The "source_repository" should always be the same.
+ local source_repository="https://github.com/dotnet/dotnet"
+ local verbosity="${GENTOO_DOTNET_BUILD_VERBOSITY:-minimal}"
+
+ ebegin "Building the .NET SDK ${SDK_SLOT}"
+ local -a buildopts=(
+ --clean-while-building
+ --source-repository "${source_repository}"
+ --source-version "${COMMIT}"
+
+ --
+ -maxCpuCount:"$(makeopts_jobs)"
+ -verbosity:"${verbosity}"
+ -p:ContinueOnPrebuiltBaselineError=true
+ -p:LogVerbosity="${verbosity}"
+ -p:MinimalConsoleLogOutput=false
+ -p:verbosity="${verbosity}"
+ )
+ bash ./build.sh "${buildopts[@]}"
+ eend ${?} || die "build failed"
+}
+
+src_install() {
+ local dest="/usr/$(get_libdir)/${PN}-${SDK_SLOT}"
+ dodir "${dest}"
+
+ ebegin "Extracting the .NET SDK archive"
+ tar xzf artifacts/*/Release/${PN}-${SDK_SLOT}.*.tar.gz -C "${ED}/${dest}"
+ eend ${?} || die "extraction failed"
+
+ fperms 0755 "${dest}"
+ dosym -r "${dest}/dotnet" "/usr/bin/dotnet-${SDK_SLOT}"
+}
+
+pkg_postinst() {
+ eselect dotnet update ifunset
+}
+
+pkg_postrm() {
+ eselect dotnet update ifunset
+}