.NET is an open source developer platform, created by Microsoft, for building
many different types of applications. It provides a standard set of base class
libraries and APIs that are common to all .NET applications. .NET apps can be
written in such languages as C#, F#, or Visual Basic.
lang/dotnet: adapt to the relocated libunwind-devel files
devel/libunwind-devel now installs its development files under
${PREFIX}/libunwind11 with only the versioned shared libraries left in the
default library path and no longer conflicts with devel/libunwind.
Depend on the libunwind.so.11 shared library instead of the unversioned
development symlink, and point the build at the relocated files: CMake
search paths for both the library and the headers, and CPATH for the
headers since the build overrides the compiler flags.
all: drop support for FreeBSD 13, mips and risc64sf
Reviewed by: many (*)
Differential Revision: https://reviews.freebsd.org/D55624
Differential Revision: https://reviews.freebsd.org/D55642 (merged in from bofh)
many (*)
acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga
jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka
nobutaka pkubaj se tagattie thj
Anton Saietskii
GenericRikka
Gert Doering
Jan Bramkamp
Oleh Hushchenkov
Oleksandr Kryvulia
Ralf van der Enden
Yamagi
desktop kde python tcltk office
lang/dotnet-devel: Add port targeting .NET 10.0.0-alpha.1.24530.1
This port is intended to be used to produce bootstraps for upcoming .NET
versions. It is not intended to be packaged by FreeBSD, hence setting
the IGNORE knob.
lang/dotnet: Reroll bootstraps yet again
This time the bootstraps are built in portable mode, which makes them
independent
from the OpenSSL library. This allows us to use a single bootstrap per arch
again
and also supports the SSL_DEFAULT != base case.
Thanks to Szczepan Ćwikliński <sec@thinkcode.pl> for providing the AArch64
bootstrap.
lang/dotnet: Get rid of security/openssl dependency
This required rebuilding bootstrap binaries against base OpenSSL.
Unfortunately, libraries from the bootstrap distribution are linked into
programs being built by the port. This puts us into an ABI conflict between
OpenSSL 1.1.1 from FreeBSD 13 base and OpenSSL 3 from FreeBSD 14 base [1].
This is probably a bug of .NET build system, but for now just use different
bootstraps for FreeBSD 13 and 14.
[1]:
ld.lld : error : undefined symbol: ERR_put_error
>>> referenced by pal_evp.c.o:(CryptoNative_EvpMdCtxCreate) in archive
/wrkdirs/usr/ports/lang/dotnet/work/bootstrap_sdk/packs/runtime.freebsd.13-x64.Microsoft.DotNet.ILCompiler/9.0.0/framework/libSystem.Security.Cryptography.Native.OpenSsl.a
clang-15 : error : linker command failed with exit code 1 (use -v to see
invocation)
The command ""/usr/local/bin/clang15"
"/wrkdirs/usr/ports/lang/dotnet/work/dotnet-9.0.2/src/runtime/artifacts/obj/coreclr/ILCompiler/freebsd.x64.Release/native/ilc.o"
-o
"/wrkdirs/usr/ports/lang/dotnet/work/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/freebsd.x64.Release/ilc/native/ilc"
...
/wrkdirs/usr/ports/lang/dotnet/work/bootstrap_sdk/packs/runtime.freebsd.13-x64.Microsoft.DotNet.ILCompiler/9.0.0/framework/libSystem.Security.Cryptography.Native.OpenSsl.a
...
lang/dotnet: Correctly link to base OpenSSL
No revision is bumped because this change does not completely fix
the dependency on ports OpenSSL which crept in recent updates.
lang/dotnet[-runtime]: Revert "Use bundled libunwind in hope to avoiding random
crashes"
The bundled libunwind performs no better and even worse, it seems.
This reverts commit 6a69e4b5a8b407997e620cfe4e2b969cf274de9e.
lang/dotnet{,8}: Install stuff into DATADIR again
The previous update switched the .NET installation directory into PREFIX/dotnet
which is not where dotnet-runtime expects it to be.
lang/dotnet: Do not install the TestHost nupkg
This package is required only for internal testing of .NET itself.
Not bumping PORTREVISION to avoid potential rebuilding as the change is
miniscule
lang/dotnet-runtime: Factor out .NET runtime part into a separate port
This allows to make dotnet packages co-installable.
Co-authored-by: Gleb Popov <arrowd@FreeBSD.org>