Open linsui opened 2 years ago
Where do we distribute the prebuilt binaries?
We build our own dotnet binaries from source
@06kellyjac "cp -r" is not building from source
:facepalm:
I guess we swap to unfree then
Has anyone tried a build from src previously?
According to the EULA it seems the binary can't be redistributed.
@linsui Why do you think EULA makes the binaries non-redistributable?
I guess we swap to unfree then
@06kellyjac maybe we will still be able to use unfreeRedistributable
under "ii. Distribution Requirements. For any Distributable Code you distribute, you must"
require distributors and external end users to agree to terms that protect it at least as much as this agreement; and indemnify, defend, and hold harmless Microsoft from any claims, including attorneys’ fees, related to the distribution or use of your applications, except to the extent that any claim is based solely on the unmodified Distributable Code.
is pretty scary
how does it compare to other EULAs like minecraft etc?
· work around any technical limitations in the software;
· reverse engineer, decompile or disassemble the software, or otherwise attempt to derive the source code for the software, except and to the extent required by third party licensing terms governing use of certain open source components that may be included in the software;
· remove, minimize, block or modify any notices of Microsoft or its suppliers in the software;
· use the software in any way that is against the law; or
· share, publish, rent or lease the software, provide the software as a stand-alone offering for others to use, or transfer the software or this agreement to any third party.
I thought the last item means that we can't redistribute it but of course I'm not a lawyer.
But I'm confused why this EULA can't be found on the download page and even not shipped in the download files.
Hey folks. I am involved with .NET development and I think I can clear some of this up.
When .NET (Core) was first started, the source was under some open source licenses (primarily MIT and Apache-2.0, but also a few others) but all the built binaries were all under a proprietary EULA.
We found that concerning and worked with Microsoft to try and resolve that.
This got addressed a few years ago, at least to a certain extent. Some builds of .NET contain bits that are not open source - for example, the builds for Windows include (proprietary) Windows-specific libraries. Other builds, specially for Linux, are under an MIT license now.
In general, if you download a .NET SDK zip or tarball, it should include a LICENSE
file and a ThirdPartyNotices.txt
. Those should, combined, reflect the actual license.
The LICENSE
file for the linux SDK tarballs, as far as I am aware, is not the proprietary EULA. The README in dotnet/installer seems wrong on that point. The LICENSE
is just plain MIT. The ThirdPartyNotices.txt
has a much longer list of copyright and license notices but all of them seem open source-ish and none of them are anywhere close to the proprietary EULA. Over in Fedora-land, we still have minor some issues with those license and are working with Microsoft to sort them out (eg, https://github.com/dotnet/runtime/issues/79231).
re: building from source, it's apparently easier now https://devblogs.microsoft.com/dotnet/announcing-dotnet-8-preview-1/#build-your-own-net-from-dotnet-dotnet
Thanks for the link. Looking forward to reading through this
I just found this thread. I've been working on the source build mentioned above (#190129).
In order to build it in nixpkgs, we still need to bootstrap with a binary sdk (and some other stuff from nuget). Currently it uses the existing one packaged in nixpkgs, but I suppose we could avoid that by building our own bootstrap blobs.
Anyone have any thoughts on that?
The source build is in master now for .net 8 and .net 9 preview 1. One problem is that they don't actually support source builds (yet) for each release, so we have 8.0.102 source and 8.0.201 binary :|.
To add some input into this discussion, I've downloaded the following tarballs from the Microsoft website:
LICENSE.txt
for them was all MIT.
I'm still in the process of evaluating the ThirdPartyNotices.txt
for the rest, but I think they're all safe to redistribute as well if anyone wants to help me check: https://gist.github.com/GGG-KILLER/9885555747457d4cacd6eb16dc9c7de3
So tl;dr: I think this is not a worry we need to have at the moment unless if MS changes the license for .NET
Describe the bug
According to https://github.com/dotnet/installer#license, the pre-built dotnot binaries are not licensed under MIT but https://dotnet.microsoft.com/en-us/dotnet_library_license.htm. According to the EULA it seems the binary can't be redistributed. See https://devblogs.microsoft.com/premier-developer/net-core-overview/ also.
Notify maintainers
@tonyhoglund @IvarWithoutBones @prusnak