Gentoo Archives: gentoo-dev

From: Mounir Lamouri <volkmar@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] Add operator + for licenses (EAPI-4 ?)
Date: Thu, 03 Sep 2009 15:59:37
Message-Id: 4AA03037.7000203@gentoo.org
In Reply to: Re: [gentoo-dev] [RFC] Add operator + for licenses (EAPI-4 ?) by Sebastian Pipping
1 Sebastian Pipping wrote:
2 > Mounir Lamouri wrote:
3 >
4 >> It's even worst when we try to use ACCEPT_LICENSE to have a free
5 >> operating system. Let's suppose 'free' in fsf free and osf free,
6 >> LGPL-2.1 is free for both but LGPL-2 isn't and we can suppose, most
7 >> LGPL-2 licensed packages in the tree are LGPL-2+ actually.
8 >>
9 > Are you aware that we have license groups like @FSF-APPROVED?
10 > It's set up in /usr/portage/profiles/license_groups.
11 >
12 Groups are not fixing the problem even for free aspect. If I have a
13 package licensed to LGPL-2, it's not free approved but if it's LGPL-2+,
14 it is. So I can't add LGPL-2 to @FSF-APPROVED, we agree ?
15
16 >> So, what I propose is to let a license to be suffixed by the + operator.
17 >> In this case, if a newer license is accepted by ACCEPT_LICENSE, the PM
18 >> should not filter the package.
19 >>
20 > My vote is against it. It feels like black magic to me and many
21 > licenses are not versioned, at least not their reference names in Gentoo.
22 >
23 > However I do notice that "GPL-2+" could make things easier.
24 > Why not introduce a license group for it like @GPL-2+ or so, instead?
25 > That would be transparent and use existing means.
26 >
27 > What do you think?
28 >
29 I don't understand where the black magic is. I agree not so much
30 licenses are versioned but they probably are the most used (LGPL, GPL,
31 MPL, Apache, ...).
32 GPL-2+ as a group make the filtering with ACCEPT_LICENSE easy (even if
33 we have to suppose license groups are always up-to-date. However, a
34 group will not add the information in the ebuild. In other words, I will
35 have GPL-2 and GPL-3 with GPL-2+ in ACCEPT_LICENSE but I will not have
36 GPL-2+ packages if i set only GPL-3 in ACCEPT_LICENSE.
37
38 Anyway, I've seen an issue for licenses already named foo-NUMBER because
39 with this feature, PM will consider them as versioned. Not a big deal
40 for most of them but it could be weird like BSD-2+ to have BSD-2 and BSD-4.
41 ls | grep -e "-[0123456789.]*$" in the licenses directory to see the
42 concerned licenses
43 As it has to come with a new EAPI, we can rename some licenses before.
44
45 --
46 Mounir

Replies

Subject Author
Re: [gentoo-dev] [RFC] Add operator + for licenses (EAPI-4 ?) Sebastian Pipping <webmaster@××××××××.org>