* [Buildroot] [PATCH 1/1] docs/manual: document format specifying licenses
@ 2016-01-21 7:24 Rahul Bedarkar
2016-01-21 14:34 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Rahul Bedarkar @ 2016-01-21 7:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
---
docs/manual/adding-packages-generic.txt | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt
index 1c25c4e..460bb87 100644
--- a/docs/manual/adding-packages-generic.txt
+++ b/docs/manual/adding-packages-generic.txt
@@ -382,7 +382,15 @@ information is (assuming the package name is +libfoo+) :
Otherwise, describe the license in a precise and concise way, avoiding
ambiguous names such as +BSD+ which actually name a family of licenses.
This variable is optional. If it is not defined, +unknown+ will appear in
- the +license+ field of the manifest file for this package.
+ the +license+ field of the manifest file for this package. +
+ Format for specifying licenses is:
+ ** If the package is released under multiple licenses, then +comma+ separate
+ licenses (e.g. +`LIBFOO_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+ keyword
+ (e.g. +`LIBFOO_LICENSE = GPLv2+ (programs), LGPLv2.1+ (libraries)`+).
+ ** If the package is dual licensed, then separate licenses with +or+ keyword
+ (e.g. +`LIBFOO_LICENSE = AFLv2.1 or GPLv2+`+).
* +LIBFOO_LICENSE_FILES+ is a space-separated list of files in the package
tarball that contain the license(s) under which the package is released.
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] docs/manual: document format specifying licenses
2016-01-21 7:24 [Buildroot] [PATCH 1/1] docs/manual: document format specifying licenses Rahul Bedarkar
@ 2016-01-21 14:34 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-01-21 14:34 UTC (permalink / raw)
To: buildroot
Rahul,
On Thu, 21 Jan 2016 12:54:21 +0530, Rahul Bedarkar wrote:
> Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
> ---
> docs/manual/adding-packages-generic.txt | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
Thanks for working on this!
> diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt
> index 1c25c4e..460bb87 100644
> --- a/docs/manual/adding-packages-generic.txt
> +++ b/docs/manual/adding-packages-generic.txt
> @@ -382,7 +382,15 @@ information is (assuming the package name is +libfoo+) :
> Otherwise, describe the license in a precise and concise way, avoiding
> ambiguous names such as +BSD+ which actually name a family of licenses.
> This variable is optional. If it is not defined, +unknown+ will appear in
> - the +license+ field of the manifest file for this package.
> + the +license+ field of the manifest file for this package. +
> + Format for specifying licenses is:
We normally use full sentences, so maybe:
The expected format for this variable must comply with the following
rules:
> + ** If the package is released under multiple licenses, then +comma+ separate
> + licenses (e.g. +`LIBFOO_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+ keyword
> + (e.g. +`LIBFOO_LICENSE = GPLv2+ (programs), LGPLv2.1+ (libraries)`+).
No: "libraries", "programs" are just examples. We have many more
possibilities here, like "docs", "tests" and so on. I don't think we
should standardize those categories. We need to standardize:
<foo>_LICENSE = L1 (A1), L2 (A2), L3 (A3)
And the possible values for L1, L2 and L3, but not the possible values
for A1, A2 or A3, which vary greatly depending on the packages.
> + ** If the package is dual licensed, then separate licenses with +or+ keyword
with the +or+ keyword
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-21 14:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-21 7:24 [Buildroot] [PATCH 1/1] docs/manual: document format specifying licenses Rahul Bedarkar
2016-01-21 14:34 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox