Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Standardizing format for specifying license(s)
@ 2016-01-15 11:53 Rahul Bedarkar
  2016-01-15 13:12 ` Alexander Dahl
  2016-01-15 13:44 ` Thomas Petazzoni
  0 siblings, 2 replies; 8+ messages in thread
From: Rahul Bedarkar @ 2016-01-15 11:53 UTC (permalink / raw)
  To: buildroot

Hi all,

In package.mk, as of now, there is no standard format for specifying 
licenses under which package is released. In some cases we comma 
separate licenses while in others space separated list. It's difficult 
to parse manifest file generated by legal-info target in such cases. One 
of requirements of parsing manifest file would be checking for license 
compatibility of dependent packages.

With that in mind, I'm proposing following initial format which allows 
ease in parsing manifest file.

* If package is licensed under multiple licenses e.g. bluez5_utils 
libraries and programs are licensed under different licenses. In such 
case, comma separate licenses e.g. BLUEZ5_UTILS_LICENSE=GPLv2+, LGPLv2.1+
   If there is clear distinction between which component is licensed 
under what license then annotate the license with libraries or programs 
or others keywords. e.g. BLUEZ5_UTILS_LICENSE=GPLv2+ (programs), 
LGPLv2.1+ (libraries)

* If package is dual licensed e.g. dbus then slash separate licenses. 
e.g. DBUS_LICENSE = AFLv2.1 / GPLv2+


There was effort to comma separate licenses 
https://git.busybox.net/buildroot/log/?qt=grep&q=comma+separate+licenses 
but just comma separating licenses in many cases is not correct from 
point of different licensing terms and parsing manifest file.

Any suggestions and thoughts are welcome.

Regards,
Rahul

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-01-16  1:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-15 11:53 [Buildroot] Standardizing format for specifying license(s) Rahul Bedarkar
2016-01-15 13:12 ` Alexander Dahl
2016-01-15 13:51   ` Thomas Petazzoni
2016-01-15 17:53     ` Luca Ceresoli
2016-01-16  1:02     ` Arnout Vandecappelle
2016-01-15 13:44 ` Thomas Petazzoni
2016-01-15 14:30   ` Rahul Bedarkar
2016-01-15 14:31     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox