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. |
7 |
|
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. |
16 |
|
17 |
Nevertheless, I also see the point for covering the distfiles |
18 |
contents. |
19 |
|
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: |
25 |
|
26 |
LICENSE="<licenses of installed stuff> |
27 |
srcdist? ( <licenses of unused stuff in distfiles> )" |
28 |
|
29 |
This idea was discussed within the licenses team, and the overall |
30 |
reaction was positive. |
31 |
|
32 |
What do you think? |
33 |
|
34 |
Ulrich |
35 |
|
36 |
[1] http://www.gentoo.org/proj/en/glep/glep-0023.html |
37 |
[2] https://bugs.gentoo.org/show_bug.cgi?id=492424#c3 |