[gentoo-dev] Re: License groups in ebuilds

2012-05-12 Thread Torsten Veller
* Kent Fredric kentfred...@gmail.com:
 I'd welcome groups so we can have a Perl_5 group. The lions share of
 modules published on CPAN are licensed Under the same license as Perl
 5 Itself, which implies || ( GPL-2 Artistic-1 )

Perl is licensed as

| This program is free software; you can redistribute it and/or modify
| it under the terms of either:
|
|   a) the GNU General Public License as published by the Free
|   Software Foundation; either version 1, or (at your option) any
|   later version, or
|
|   b) the Artistic License which comes with this Kit.

The perl-module.eclass offers a default LICENSE as
LICENSE=${LICENSE:-|| ( Artistic GPL-1 GPL-2 GPL-3 )}

So if a distribution uses the same license as Perl 5 itself you can
just drop the LICENSE from the ebuild (as long no former eclass sets its
own LICENSE).

I've further added comments to the LICENSE in the ebuilds if it does not
use the same terms as the Perl 5 programming language system itself
but or-later group of licenses (like GPL-2+ or Artistic+...).
-- 
Regards




Re: [gentoo-dev] Re: License groups in ebuilds

2012-05-12 Thread Ciaran McCreesh
On Sat, 12 May 2012 21:05:06 +0200
Torsten Veller t...@gentoo.org wrote:
 The perl-module.eclass offers a default LICENSE as
 LICENSE=${LICENSE:-|| ( Artistic GPL-1 GPL-2 GPL-3 )}
 
 So if a distribution uses the same license as Perl 5 itself you can
 just drop the LICENSE from the ebuild (as long no former eclass sets
 its own LICENSE).

That's definitely not going to work if the 'inherit' comes at the top
of the ebuild, and is severely dodgy if it doesn't...

-- 
Ciaran McCreesh


signature.asc
Description: PGP signature


[gentoo-dev] Re: License groups in ebuilds

2012-05-12 Thread Torsten Veller
* Ciaran McCreesh ciaran.mccre...@googlemail.com:
 On Sat, 12 May 2012 21:05:06 +0200
 Torsten Veller t...@gentoo.org wrote:
  The perl-module.eclass offers a default LICENSE as
  LICENSE=${LICENSE:-|| ( Artistic GPL-1 GPL-2 GPL-3 )}
  
  So if a distribution uses the same license as Perl 5 itself you can
  just drop the LICENSE from the ebuild (as long no former eclass sets
  its own LICENSE).
 
 That's definitely not going to work if the 'inherit' comes at the top
 of the ebuild, and is severely dodgy if it doesn't...

What doesn't work?
-- 
Regards



Re: [gentoo-dev] Re: License groups in ebuilds

2012-05-12 Thread Ulrich Mueller
 On Sat, 12 May 2012, Ciaran McCreesh wrote:

 On Sat, 12 May 2012 21:05:06 +0200
 Torsten Veller t...@gentoo.org wrote:
 The perl-module.eclass offers a default LICENSE as
 LICENSE=${LICENSE:-|| ( Artistic GPL-1 GPL-2 GPL-3 )}
 
 So if a distribution uses the same license as Perl 5 itself you can
 just drop the LICENSE from the ebuild (as long no former eclass sets
 its own LICENSE).

 That's definitely not going to work if the 'inherit' comes at the top
 of the ebuild, and is severely dodgy if it doesn't...

I have to agree with Ciaran. The eclass should simply assign LICENSE
unconditionally. Ebuilds can override it if necessary.

And if an ebuild inherits two eclasses that both define LICENSE, then
it's probably better if the ebuild contains its own explicit
definition.

Ulrich