On Wed, 1 Jan 2014 23:28:54 +0100 Ulrich Mueller <u...@gentoo.org> wrote:
> Hi, > According to GLEP 23 [1], the LICENSE variable regulates the software > that is installed on a system. There is however some ambiguity in > this: should it cover the actual files installed on the system, or > everything that is included in the package's tarball? This question > was asked several times in the past and arose in bug 492424 [2] again. > > I've always preferred the first interpretation, because the second one > would inevitably require us to repack many tarballs, in order to keep > their license in @FREE. This would for example include the Linux > kernel, where we could no longer use deblobbing, but would have to > provide our own tarball with firmware blobs removed. Not sure if users > would be happy if we wouldn't install from pristine sources any more. > We also have mirror and fetch restrictions which allow us to control > what tarballs we distribute, independent of the LICENSE variable. I've always believed that when it comes down to it all Gentoo basically does is provide a link to some source code and a script to build and install it. Unless we violate someone's license by redistributing that source then we really don't have to worry about it, and as you said we already have mechanisms to deal with that. What the user does with that source is their business, and they are solely responsible for following the terms of the license(s). IIRC this is the stance we took back in 2006 with the cdrtools debacle [1]. So I don't understand why we would have to remove anything from the tarballs. Unless there's a license in there that forbids mirroring then there's no need to list other licenses that aren't relevant. The user wants to know what conditions he needs to follow to build and use the package, not what the tarball happen to contain. If you tell him that he can't install something because of a license on a piece of code that is never used, built, or installed, he isn't going to be very happy. > Within existing EAPIs we have only one LICENSE variable available. > (Extending it would be possible in future EAPIs, but we would end up > with a very long transition period.) USE conditional syntax is allowed > in LICENSE, though. So I wonder if this couldn't be used for the > intended purpose. For example, for specifying licenses of distfiles: > > LICENSE="<licenses of installed stuff> > srcdist? ( <licenses of unused stuff in distfiles> )" > > This idea was discussed within the licenses team, and the overall > reaction was positive. > > What do you think? Wouldn't that just prevent you from installing the package altogether? Some people might be okay with that, but if it's a package you need then you are forced to choose between either disabling the USE flag or stop filtering the license for that package. Either way you end up with non-distributable stuff in your distfiles. Maybe we could add RESTRICT=srcdist which would cause ebuilds to save their distfiles in a separate directory controlled by PORTDIR_NODIST or something. If the variable is unset then it's business as usual. -- Ryan Hill psn: dirtyepic_sk gcc-porting/toolchain/wxwidgets @ gentoo.org 47C3 6D62 4864 0E49 8E9E 7F92 ED38 BD49 957A 8463
signature.asc
Description: PGP signature