On Sun, 2018-08-26 at 17:50 +0200, Ulrich Mueller wrote:
> > > > > > On Sun, 26 Aug 2018, Michał Górny wrote:
> > 1. introducing additional *-only licenses that explicitly indicate
> > that a newer version is not allowed, e.g. GPL-2-only, LGPL-3-only etc.
> 
> I don't like this at all, because LICENSE="GPL-2" means exactly the
> above, namely GPL version 2, no later version. Therefore, "GPL-2-only"
> would be completely redundant to it.
> 
> What we could do (and what already exists in several ebuilds) is to add
> a *comment* to the LICENSE line, like "# GPL-2 only". This could be
> required for every new ebuild.

Sure, I suppose that would work.

> > 2. annotating the unsuffixed licenses with a warning that they may
> > mean either x-only or x+ due to frequent mistake.
> 
> I don't think that's a good idea either. Also we're not allowed to
> change the license documents:
> "Everyone is permitted to copy and distribute verbatim copies
> of this license document, but changing it is not allowed."

I don't think adding an annotation on top or bottom is equal to changing
it.

> 
> > 3. make repoman warn whenever non-specific variant is used, telling
> > developers to verify whether it's x-only or x+.
> 
> Repoman could check for a comment in the LICENSE line as well, I guess?

Proper handling of comments would be rather hard, especially given that
by definition they have no specific form and therefore users can use
them in weird ways.

> 
> > 4. start migrating packages to x-only or x+ appropriately.
> 
> See above. We could instead migrate ebuilds with "GPL-2" to either:
> LICENSE="GPL-2+"
> or:
> LICENSE="GPL-2" # GPL-2 only

One thing where this would fail would be e.g.:

  LICENSE="GPL-2+
    bar? ( GPL-2 )
    foo? ( GPL-3+ )" ^ you can't put a comment on the right line

> 
> Optionally, the comment can be removed once all ebuilds have been
> converted.
> 
> > 5. eventually, remove the non-specific licenses and make repoman error
> > out with clear explanation.
> 
> Ulrich

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to