Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] RFC: new global USE flag "srcdist"
Date: Wed, 01 Jan 2014 22:29:05
1 Hi,
2 According to GLEP 23 [1], the LICENSE variable regulates the software
3 that is installed on a system. There is however some ambiguity in
4 this: should it cover the actual files installed on the system, or
5 everything that is included in the package's tarball? This question
6 was asked several times in the past and arose in bug 492424 [2] again.
8 I've always preferred the first interpretation, because the second one
9 would inevitably require us to repack many tarballs, in order to keep
10 their license in @FREE. This would for example include the Linux
11 kernel, where we could no longer use deblobbing, but would have to
12 provide our own tarball with firmware blobs removed. Not sure if users
13 would be happy if we wouldn't install from pristine sources any more.
14 We also have mirror and fetch restrictions which allow us to control
15 what tarballs we distribute, independent of the LICENSE variable.
17 Nevertheless, I also see the point for covering the distfiles
18 contents.
20 Within existing EAPIs we have only one LICENSE variable available.
21 (Extending it would be possible in future EAPIs, but we would end up
22 with a very long transition period.) USE conditional syntax is allowed
23 in LICENSE, though. So I wonder if this couldn't be used for the
24 intended purpose. For example, for specifying licenses of distfiles:
26 LICENSE="<licenses of installed stuff>
27 srcdist? ( <licenses of unused stuff in distfiles> )"
29 This idea was discussed within the licenses team, and the overall
30 reaction was positive.
32 What do you think?
34 Ulrich
36 [1]
37 [2]


Subject Author
Re: [gentoo-dev] RFC: new global USE flag "srcdist" "Rick \\\"Zero_Chaos\\\" Farina" <zerochaos@g.o>
Re: [gentoo-dev] RFC: new global USE flag "srcdist" Michael Orlitzky <mjo@g.o>
Re: [gentoo-dev] RFC: new global USE flag "srcdist" "Michał Górny" <mgorny@g.o>
[gentoo-dev] Re: RFC: new global USE flag "srcdist" Ryan Hill <dirtyepic@g.o>