summaryrefslogtreecommitdiff
path: root/dev-dotnet/dotnet-sdk
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
commitf716a9fe6455d39eef01e718aae68dae61c19704 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-dotnet/dotnet-sdk
parent3f9cf298e89cd5037b982abba06091224ee76daf (diff)
downloadbaldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip
Adding metadata
Diffstat (limited to 'dev-dotnet/dotnet-sdk')
-rw-r--r--dev-dotnet/dotnet-sdk/Manifest2
-rw-r--r--dev-dotnet/dotnet-sdk/dotnet-sdk-9.0.111-r1.ebuild318
-rw-r--r--dev-dotnet/dotnet-sdk/files/dotnet-sdk-9.0.108-libunwind.patch37
-rw-r--r--dev-dotnet/dotnet-sdk/metadata.xml15
4 files changed, 0 insertions, 372 deletions
diff --git a/dev-dotnet/dotnet-sdk/Manifest b/dev-dotnet/dotnet-sdk/Manifest
deleted file mode 100644
index 626192350394..000000000000
--- a/dev-dotnet/dotnet-sdk/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST dotnet-sdk-9.0.111-prepared-gentoo-glibc-amd64.tar.xz 1960866388 BLAKE2B 08e6f47a655af399594fe4e392dde0565d16066007d63fd06250c90409339fdf6351b199d419edd111665cd9442812ca724babd659371d32811a92aaa298c991 SHA512 c1423689fdec91c3556e7b6483bd0722151ed5a2b15093d1492492c6e027c341408401acf887c6e371ba67ed9a9fac9d0303cb20d8f67c1caadf992febf2c859
-DIST dotnet-sdk-9.0.111-prepared-gentoo-musl-amd64.tar.xz 1961570432 BLAKE2B 5ecf1092766b075a3d0e3bd951b5faf368d5112b48f6d0c3893f51a2f928a6ddaf9c2321b4be14bc81afc6f3009086aaa980a30d091431141da1d048f1aabd2d SHA512 b288ca7bf3f5d47ac31c10194f2328c7aa5cf61e99bf680510fc1c4c0807db83010e4ef5faf549a8deb733e212a9ac31ec61ba8671bb8656c263fc0679e101a0
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-9.0.111-r1.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-9.0.111-r1.ebuild
deleted file mode 100644
index 66c1798f8570..000000000000
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-9.0.111-r1.ebuild
+++ /dev/null
@@ -1,318 +0,0 @@
-# Copyright 1999-2026 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 v9.0.7 https://github.com/dotnet/dotnet ./dotnet-sdk-9.0.7
-# cd ./dotnet-sdk-9.0.7
-# git rev-parse HEAD
-# bash ./prep-source-build.sh
-# rm -f -r ./.git
-# cd ..
-# tar -acf dotnet-sdk-9.0.111-prepared-gentoo-amd64.tar.xz dotnet-sdk-9.0.0
-# Upload "dotnet-sdk-9.0.111-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: DOTNET_VERBOSITY - set other verbosity log level.
-
-EAPI=8
-
-COMMIT="838867fec3d758e34188af097f4f18a23c3800e8"
-SDK_SLOT="$(ver_cut 1-2)"
-RUNTIME_SLOT="${SDK_SLOT}.10"
-
-LLVM_COMPAT=( {19..20} )
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit check-reqs flag-o-matic llvm-r2 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-glibc-amd64.tar.xz
- )
- elibc_musl? (
- https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}-prepared-gentoo-musl-amd64.tar.xz
- )
- )
-"
-S="${WORKDIR}/${P}"
-
-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.36
- ~dev-dotnet/dotnet-runtime-nugets-7.0.20
- ~dev-dotnet/dotnet-runtime-nugets-8.0.21
-"
-NUGETS_DEPEND="
- ${CURRENT_NUGETS_DEPEND}
- ${EXTRA_NUGETS_DEPEND}
-"
-PDEPEND="
- ${NUGETS_DEPEND}
-"
-RDEPEND="
- app-arch/brotli
- app-crypt/mit-krb5:0/0
- dev-libs/icu
- dev-libs/openssl:=
- dev-libs/rapidjson
- dev-util/lttng-ust:=
- sys-devel/gcc:*
- virtual/zlib:0/1
- || (
- sys-libs/libunwind
- llvm-runtimes/libunwind
- )
-"
-DEPEND="
- ${RDEPEND}
-"
-BDEPEND="
- ${PYTHON_DEPS}
- dev-build/cmake
- dev-vcs/git
- $(llvm_gen_dep '
- llvm-core/clang:${LLVM_SLOT}
- llvm-core/lld:${LLVM_SLOT}
- llvm-core/llvm:${LLVM_SLOT}
- ')
-"
-IDEPEND="
- app-eselect/eselect-dotnet
-"
-
-CHECKREQS_DISK_BUILD="20G"
-CHECKREQS_DISK_USR="1200M"
-
-PATCHES=(
- "${FILESDIR}/dotnet-sdk-9.0.108-libunwind.patch"
-)
-
-# Created by dotnet itself:
-QA_PREBUILT="
-.*/dotnet
-.*/ilc
-"
-
-# .NET runtime, better to not touch it if they want some specific flags.
-QA_FLAGS_IGNORED="
-.*/apphost
-.*/createdump
-.*/dotnet
-.*/ilc
-.*/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
-.*/libclrgcexp.so
-.*/libclrjit.so
-.*/libclrjit_universal_arm64_x64.so
-.*/libclrjit_universal_arm_x64.so
-.*/libclrjit_unix_x64_x64.so
-.*/libclrjit_win_x64_x64.so
-.*/libclrjit_win_x86_x64.so
-.*/libcoreclr.so
-.*/libcoreclrtraceptprovider.so
-.*/libhostfxr.so
-.*/libhostpolicy.so
-.*/libjitinterface_x64.so
-.*/libmscordaccore.so
-.*/libmscordbi.so
-.*/libnethost.so
-.*/singlefilehost
-"
-
-check_requirements_locale() {
- 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
-}
-
-pkg_pretend() {
- check-reqs_pkg_pretend
-
- check_requirements_locale
-}
-
-pkg_setup() {
- check-reqs_pkg_setup
- llvm-r2_pkg_setup
- python-any-r1_pkg_setup
-
- check_requirements_locale
-}
-
-src_prepare() {
- default
-
- strip-flags
- filter-flags -Werror=lto-type-mismatch # Not implemented by Clang, bug 946334
- filter-flags -Wlto-type-mismatch
- filter-lto
-
- local llvm_prefix="$(get_llvm_prefix -b)"
- export CC="${llvm_prefix}/bin/clang-${LLVM_SLOT}"
- export CXX="${llvm_prefix}/bin/clang++-${LLVM_SLOT}"
- export LD="${llvm_prefix}/bin/lld"
-
- unset DOTNET_ROOT
- unset NUGET_PACKAGES
- unset CLR_ICU_VERSION_OVERRIDE
- unset USER_CLR_ICU_VERSION_OVERRIDE
-
- export DOTNET_CLI_TELEMETRY_OPTOUT="1"
- export DOTNET_NUGET_SIGNATURE_VERIFICATION="false"
- export DOTNET_SKIP_FIRST_TIME_EXPERIENCE="1"
- export MSBUILDDISABLENODEREUSE="1"
- export MSBUILDTERMINALLOGGER="off"
- export UseSharedCompilation="false"
- export TreatWarningsAsErrors="false"
- export WarningsNotAsErrors="CS7035"
-
- local dotnet_sdk_tmp_directory="${WORKDIR}/dotnet-sdk-tmp"
- mkdir -p "${dotnet_sdk_tmp_directory}" || die
-
- # This should fix the "PackageVersions.props" problem, see "src_compile".
- sed -i build.sh -e "s|/tmp|${dotnet_sdk_tmp_directory}|g" || die
-
- # This script using comm + sort is broken with newest coreutils >=9.9.
- sed -i ./src/*/eng/build.sh \
- -e "s|actInt=.*|actInt=(-build -pack -publish -restore)|" || die
-
- # Some .NET SDK build scripts use "nproc" to determine
- # a number of processors. So, we create fake "nproc" command that in fact
- # reports the number of "--jobs" value.
- local fake_bin="${T}/fake_bin"
- mkdir -p "${fake_bin}" || die
- export PATH="${fake_bin}:${PATH}"
-
- cat <<-EOF > "${fake_bin}/nproc" || die
-#!/bin/sh
-echo "$(makeopts_jobs)"
-EOF
- chmod +x "${fake_bin}/nproc" || die
-
- # Overwrite "init-compiler" scripts.
- # TODO: Consider - this probably overshadows CCache.
- cat <<EOF > ./init-compiler.sh || die
-export CC="${CC}"
-export CXX="${CXX}"
-export LDFLAGS="${LDFLAGS} -fuse-ld=lld"
-export SCAN_BUILD_COMMAND="scan-build"
-EOF
- local init_compiler=""
- for init_compiler in diagnostics runtime ; do
- mv "./src/${init_compiler}/eng/common/native/init-compiler.sh"{,.orig} || die
- cp ./init-compiler.sh "./src/${init_compiler}/eng/common/native/" || die
- done
-}
-
-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
-
- local -x EXTRA_CFLAGS="${CFLAGS}"
- local -x EXTRA_CXXFLAGS="${CXXFLAGS}"
- local -x EXTRA_LDFLAGS="${LDFLAGS}"
-
- # The "source_repository" should always be the same.
- local source_repository="https://github.com/dotnet/dotnet"
- local verbosity="${DOTNET_VERBOSITY:-minimal}"
-
- local -a buildopts=(
- # URLs, version specification, etc. ...
- --source-repository "${source_repository}"
- --source-version "${COMMIT}"
-
- # How it should be built.
- --source-build
- --clean-while-building
- --with-system-libs "+brotli+icu+libunwind+rapidjson+zlib+"
- --configuration "Release"
-
- # Auxiliary options.
- --
- -maxCpuCount:"$(makeopts_jobs)"
- -p:MaxCpuCount="$(makeopts_jobs)"
- -p:ContinueOnPrebuiltBaselineError="true"
- -p:TreatWarningsAsErrors="false"
- -p:WarningsNotAsErrors="CS7035"
-
- # Verbosity settings.
- -verbosity:"${verbosity}"
- -p:LogVerbosity="${verbosity}"
- -p:verbosity="${verbosity}"
- -p:MinimalConsoleLogOutput="false"
- )
- einfo "Will build with: ${buildopts[*]}"
-
- ebegin "Building the .NET SDK ${SDK_SLOT}"
- 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}"
-
- # Fix permissions again for what is already marked as executable.
- find "${ED}" -type f -executable -exec chmod +x {} + || die
-}
-
-pkg_postinst() {
- eselect dotnet update ifunset
-}
-
-pkg_postrm() {
- eselect dotnet update ifunset
-}
diff --git a/dev-dotnet/dotnet-sdk/files/dotnet-sdk-9.0.108-libunwind.patch b/dev-dotnet/dotnet-sdk/files/dotnet-sdk-9.0.108-libunwind.patch
deleted file mode 100644
index b08d442f9e00..000000000000
--- a/dev-dotnet/dotnet-sdk/files/dotnet-sdk-9.0.108-libunwind.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-Comment out if-defs that cause build falure.
-
-Suggested-by: Armas Spann <zappel@simple-co.de>
-
---- a/src/runtime/src/native/external/llvm-libunwind/src/Registers.hpp
-+++ b/src/runtime/src/native/external/llvm-libunwind/src/Registers.hpp
-@@ -318,11 +318,13 @@
- class _LIBUNWIND_HIDDEN Registers_x86_64;
- extern "C" void __libunwind_Registers_x86_64_jumpto(Registers_x86_64 *);
-
-+/* not applicable if libunwind is used
- #if defined(_LIBUNWIND_USE_CET)
- extern "C" void *__libunwind_cet_get_jump_target() {
- return reinterpret_cast<void *>(&__libunwind_Registers_x86_64_jumpto);
- }
- #endif
-+*/
-
- class _LIBUNWIND_HIDDEN Registers_x86_64 {
- public:
---- a/src/runtime/src/native/external/llvm-libunwind/src/UnwindCursor.hpp
-+++ b/src/runtime/src/native/external/llvm-libunwind/src/UnwindCursor.hpp
-@@ -3022,12 +3022,14 @@
- }
- #endif
-
-+/* not applicable if libunwind is used
- #if defined(_LIBUNWIND_USE_CET)
- extern "C" void *__libunwind_cet_get_registers(unw_cursor_t *cursor) {
- AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor;
- return co->get_registers();
- }
- #endif
-+*/
- } // namespace libunwind
-
- #endif // __UNWINDCURSOR_HPP__
diff --git a/dev-dotnet/dotnet-sdk/metadata.xml b/dev-dotnet/dotnet-sdk/metadata.xml
deleted file mode 100644
index b2549c1c3737..000000000000
--- a/dev-dotnet/dotnet-sdk/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-
-<pkgmetadata>
- <maintainer type="project">
- <email>dotnet@gentoo.org</email>
- <name>Gentoo Dotnet Project</name>
- </maintainer>
- <upstream>
- <doc>https://learn.microsoft.com/en-us/dotnet/</doc>
- <bugs-to>https://github.com/dotnet/sdk/issues/</bugs-to>
- <remote-id type="github">dotnet/installer</remote-id>
- <remote-id type="github">dotnet/sdk</remote-id>
- </upstream>
-</pkgmetadata>