dotnet: Update to 8.0.11

**Summary**

Update includes changes in 8.0.10

Security and non-security improvements.
Full release notes:
[8.0.10](https://devblogs.microsoft.com/dotnet/dotnet-and-dotnet-framework-october-2024-servicing-updates/#net-october-2024-updates)
[8.0.11](https://devblogs.microsoft.com/dotnet/dotnet-and-dotnet-framework-november-2024-servicing-updates)

**Test Plan**

- run [fedora's test suite](https://github.com/redhat-developer/dotnet-regular-tests)

**Checklist**

- [x] Package was built and tested against unstable

**Security**

- CVE-2024-38229
- CVE-2024-43483
- CVE-2024-43484
- CVE-2024-43485
This commit is contained in:
nelson truran 2025-01-01 20:37:39 -08:00
parent de1249fd36
commit 96beb10a19
No known key found for this signature in database
GPG key ID: B68CFB0A985BAB2F
5 changed files with 3948 additions and 3910 deletions

View file

@ -34,3 +34,4 @@ static_libs:
# These files are allowed as static libraries:
allowed_files:
- /usr/lib64/ghc-*/**
- /usr/lib64/dotnet/packs/Microsoft.NETCore.App.Host.solus.*/**/libnethost.a

View file

@ -0,0 +1,41 @@
From: nelson <nelson@truran.dev>
Date: Wed, 1 Jan 2024 00:00:00 +0000
Subject: [PATCH] Clang 19 compat
This patch applies the upstream fix to support Clang 19 https://github.com/dotnet/runtime/commit/043ae8c50dbe1c7377cf5ad436c5ac1c226aef79
---
diff --git a/src/runtime/src/coreclr/vm/comreflectioncache.hpp b/src/runtime/src/coreclr/vm/comreflectioncache.hpp
--- a/src/runtime/src/coreclr/vm/comreflectioncache.hpp
+++ b/src/runtime/src/coreclr/vm/comreflectioncache.hpp
@@ -26,6 +26,7 @@
void Init();
+#ifndef DACCESS_COMPILE
BOOL GetFromCache(Element *pElement, CacheType& rv)
{
CONTRACTL
@@ -102,6 +103,7 @@
AdjustStamp(TRUE);
this->LeaveWrite();
}
+#endif // !DACCESS_COMPILE
private:
// Lock must have been taken before calling this.
@@ -141,6 +143,7 @@
return CacheSize;
}
+#ifndef DACCESS_COMPILE
void AdjustStamp(BOOL hasWriterLock)
{
CONTRACTL
@@ -170,6 +173,7 @@
if (!hasWriterLock)
this->LeaveWrite();
}
+#endif // !DACCESS_COMPILE
void UpdateHashTable(SIZE_T hash, int slot)
{

View file

@ -1,10 +0,0 @@
{
"release": "8.0.8",
"channel": "8.0",
"tag": "v8.0.8",
"sdkVersion": "8.0.108",
"runtimeVersion": "8.0.8",
"aspNetCoreVersion": "8.0.8",
"sourceRepository": "https://github.com/dotnet/dotnet",
"sourceVersion": "e78e8a64f20e61e1fea4f24afca66ad1dc56285f"
}

View file

@ -1,8 +1,8 @@
name : dotnet
version : 8.0.8
release : 8
version : 8.0.11
release : 9
source :
- https://github.com/dotnet/dotnet/archive/refs/tags/v8.0.8.tar.gz : fcb07ac1c272376e5ef3ec2e0419a706175a7e47339742e8517d11fcd9547445
- https://github.com/dotnet/dotnet/archive/refs/tags/v8.0.11.tar.gz : d7cb383bbfa20f86e085615ab3dcb769e5c9af7330d90834ce34889857bd92e5
homepage : https://dot.net
license : MIT
component : programming.dotnet
@ -18,6 +18,7 @@ libsplit : no
clang : yes
strip : no
builddeps :
- pkgconfig(RapidJSON)
- pkgconfig(icu-i18n)
- pkgconfig(krb5)
- pkgconfig(libcurl)
@ -28,6 +29,7 @@ builddeps :
- dotnet-sdk
- dotnet-source-built-artifacts
- git
- jq
- lldb-devel
rundeps :
- libicu
@ -36,6 +38,8 @@ rundeps :
setup : |
%patch -p1 -i $pkgfiles/1005-default-opt-out-of-telemetry.patch
%patch -p1 -i $pkgfiles/0001-solus-Read-install_location-from-usr.patch
# from .net 9 we can remove this patch
%patch -p1 -i $pkgfiles/0002-solus-dac-fix.patch
build : |
# EXTRA_* flags are passed to the build system
export EXTRA_CFLAGS="$CFLAGS"
@ -43,13 +47,18 @@ build : |
export EXTRA_LDFLAGS="$LDFLAGS"
cp -r /usr/lib64/dotnet .dotnet
ln -sf /usr/share/dotnet/source-built-artifacts/Private.SourceBuilt.*.tar.gz prereqs/packages/archive/
VERSION_JSON=$(curl -sL "https://github.com/dotnet/dotnet/releases/download/v$version/release.json")
SRC_REPO=$(echo $VERSION_JSON | jq -r '.sourceRepository')
SRC_VERSION=$(echo $VERSION_JSON | jq -r '.sourceVersion')
# setting `version` (any case) clobbers the msbuild version target
unset CFLAGS CXXFLAGS LDFLAGS version
./prep.sh
# from .net 9 you can pass --with-system-libs to build.sh
./build.sh --clean-while-building \
--online \
--release-manifest $pkgfiles/release.json \
--source-repository $SRC_REPO \
--source-version $SRC_VERSION \
--with-sdk $PWD/.dotnet \
-- -maxCpuCount:%YJOBS%
install : |

File diff suppressed because it is too large Load diff