Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135933 - ebuild-quiz - add question about license syntax
Summary: ebuild-quiz - add question about license syntax
Status: RESOLVED INVALID
Alias: None
Product: Community Relations
Classification: Unclassified
Component: Developer Relations (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Community Relations Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-07 08:30 UTC by Christian Hartmann (RETIRED)
Modified: 2006-12-27 01:03 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
19license.patch (19license.patch,511 bytes, patch)
2006-06-07 08:31 UTC, Christian Hartmann (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Hartmann (RETIRED) gentoo-dev 2006-06-07 08:30:14 UTC
Looking at the portage-tree it looks like it's still a commonly made mistake when dealing with packages that are licensed under more then one license. I couldn't find any documentation about that and asked plasmaroo to add it to the devmanual. ( http://devmanual.gentoo.org/general-concepts/licenses/index.html )

E.g. you find lots of ebuilds that still use the old style syntax:
LICENSE="Artistic GPL-2"

The correct syntax would be:
LICENSE="|| ( Artistic GPL-2 )"

See http://www.gentoo.org/proj/en/glep/glep-0023.html for further information.

This should also be mentioned/handled in the ebuild-quiz imho as it's basic knowledge every developer joining the team should have.
Comment 1 Christian Hartmann (RETIRED) gentoo-dev 2006-06-07 08:31:04 UTC
Created attachment 88607 [details, diff]
19license.patch

added ebuild-quiz patch (proposal)
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2006-06-07 08:33:07 UTC
Switched locking from Developer Relations to Gentoo Developers
Comment 3 Mike Doty (RETIRED) gentoo-dev 2006-06-07 08:47:22 UTC
devrel/recruiters please comment _soon_ if you don't like this addition otherwise I'll be commiting it this weekend.
Comment 4 SpanKY gentoo-dev 2006-06-07 09:17:04 UTC
why is this locked at all
Comment 5 Mike Doty (RETIRED) gentoo-dev 2006-06-07 09:20:06 UTC
(In reply to comment #4)
> why is this locked at all
> 

because it contains the answer to the question verbatim?
Comment 6 Torsten Veller (RETIRED) gentoo-dev 2006-06-07 13:59:15 UTC
(In reply to comment #0)
> E.g. you find lots of ebuilds that still use the old style syntax:
> LICENSE="Artistic GPL-2"
> 
> The correct syntax would be:
> LICENSE="|| ( Artistic GPL-2 )"

Isn't the first example AND and the second one OR?



GLEP 23 says:
"LICENSE syntax should accomodate all functionality offered by a DEPEND string. To keep things simple, this GLEP proposes that the syntax be identical"

example:
| LICENSE="mandatory-license
|     || ( choosable-licence1 chooseable-license-2 )
|     useflag? ( optional-component-license )"
Comment 7 Christian Hartmann (RETIRED) gentoo-dev 2006-07-05 11:45:04 UTC
Yeah, you're right.
Comment 8 Danny van Dyk (RETIRED) gentoo-dev 2006-08-31 06:56:31 UTC
In that case, let's close it as INVALID.