public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mounir Lamouri <volkmar@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] Add operator + for licenses (EAPI-4 ?)
Date: Thu, 03 Sep 2009 23:08:07 +0200	[thread overview]
Message-ID: <4AA03037.7000203@gentoo.org> (raw)
In-Reply-To: <4A9C853D.8050003@hartwork.org>

Sebastian Pipping wrote:
> Mounir Lamouri wrote:
>   
>> It's even worst when we try to use ACCEPT_LICENSE to have a free
>> operating system. Let's suppose 'free' in fsf free and osf free,
>> LGPL-2.1 is free for both but LGPL-2 isn't and we can suppose, most
>> LGPL-2 licensed packages in the tree are LGPL-2+ actually.
>>     
> Are you aware that we have license groups like  @FSF-APPROVED?
> It's set up in  /usr/portage/profiles/license_groups.
>   
Groups are not fixing the problem even for free aspect. If I have a
package licensed to LGPL-2, it's not free approved but if it's LGPL-2+,
it is. So I can't add LGPL-2 to @FSF-APPROVED, we agree ?

>> So, what I propose is to let a license to be suffixed by the + operator.
>> In this case, if a newer license is accepted by ACCEPT_LICENSE, the PM
>> should not filter the package.
>>     
> My vote is against it.  It feels like black magic to me and many
> licenses are not versioned, at least not their reference names in Gentoo.
>
> However I do notice that "GPL-2+" could make things easier.
> Why not introduce a license group for it like @GPL-2+ or so, instead?
> That would be transparent and use existing means.
>
> What do you think?
>   
I don't understand where the black magic is. I agree not so much
licenses are versioned but they probably are the most used (LGPL, GPL,
MPL, Apache, ...).
GPL-2+ as a group make the filtering with ACCEPT_LICENSE easy (even if
we have to suppose license groups are always up-to-date. However, a
group will not add the information in the ebuild. In other words, I will
have GPL-2 and GPL-3 with GPL-2+ in ACCEPT_LICENSE but I will not have
GPL-2+ packages if i set only GPL-3 in ACCEPT_LICENSE.

Anyway, I've seen an issue for licenses already named foo-NUMBER because
with this feature, PM will consider them as versioned. Not a big deal
for most of them but it could be weird like BSD-2+ to have BSD-2 and BSD-4.
ls | grep -e "-[0123456789.]*$" in the licenses directory to see the
concerned licenses
As it has to come with a new EAPI, we can rename some licenses before.

--
Mounir



  parent reply	other threads:[~2009-09-03 15:59 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-31 22:12 [gentoo-dev] [RFC] Add operator + for licenses (EAPI-4 ?) Mounir Lamouri
2009-08-31 22:30 ` Rémi Cardona
2009-09-03 20:50   ` Mounir Lamouri
2009-09-01  2:21 ` Sebastian Pipping
2009-09-01  5:54   ` [gentoo-dev] " Duncan
2009-09-03 21:10     ` Mounir Lamouri
2009-09-03 21:15       ` Rémi Cardona
2009-09-03 21:27         ` Mounir Lamouri
2009-09-04  4:53           ` Duncan
2009-09-04 15:01           ` Rémi Cardona
2009-09-04 18:52             ` David Leverton
2009-09-04 20:04               ` Rémi Cardona
2009-09-04 20:08                 ` Ciaran McCreesh
2009-09-05 14:03                   ` Maciej Mrozowski
2009-09-05 15:02                     ` Ciaran McCreesh
2009-09-06  0:34                     ` Thomas Anderson
2009-09-06  6:31                       ` Rémi Cardona
2009-09-03 21:08   ` Mounir Lamouri [this message]
2009-09-04 21:11     ` [gentoo-dev] " Sebastian Pipping
2009-09-05  1:06       ` Zac Medico
2009-09-05  8:40         ` [gentoo-dev] " Duncan
2009-09-05  9:28         ` [gentoo-dev] " Ulrich Mueller
2009-09-05 10:59           ` Zac Medico
2009-09-05 17:21         ` Mounir Lamouri
2009-09-05 18:41           ` Ulrich Mueller
2009-09-06  0:14             ` Sebastian Pipping
2009-09-05 21:37           ` Zac Medico
2009-10-01  2:01         ` Sebastian Pipping
2009-10-01 13:09           ` volkmar
2009-09-04 15:47 ` Jeremy Olexa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AA03037.7000203@gentoo.org \
    --to=volkmar@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox