generic-poky/meta/files/common-licenses
Elizabeth Flanagan cb91ef9310 license: manifest and license path
This is a fairly large commit, so I want to step through some of
what this accomplishes:

1. Additional licenses

I've added/modified/corrected some of the common licenses
within OE-core in prep. for a major license audit. Most of these
are in SPDX format. A few, there is no OSI equivalent.

2. Additional SPDX mappings

I've added some additional SPDX mappings to account for removing
some duplicate licenses. (ie GPL-2 and GPL-2.0 were the same)
I've also remapped a few things to more accurately reflect what
they should be pointing at.

Note: Artistic/LGPL/GPL/MPL. Quite a few LICENSE fields list these
licenses. They make no sense and need auditing. In a future commit
I have some fixes to particularly egregious LICENSE fields, but
a full audit should be done. I've listed to obvious candidates at:

https://wiki.yoctoproject.org/wiki/License_Audit

3. License manifest

We now have a license manifest generation that occurs in rootfs for
everything BUT .deb. This requires the changes Paul Eggleton has
done to rootfs_* particularly the list_installed_packages function.
The manifest is accurate during a parallel bitbake now (Weee!) and
is prime for my planned SPDX format manifest during the next period.

4. License manifest on image.

We also want the ability to add licenses to the image. This
functionality is also in base-files and will be stripped out in my
next commit. The manifest is not added by default and is a two var
setting in license.conf:

If I want *just* the manifest on the image (small) then I set:
COPY_LIC_MANIFEST = "1"

This copies the manifest to:

/usr/share/common-licenses/license.manifest

If I want the actual PKG license text on the image (much larger)
I need to set both both COPY_LIC_MANIFEST and COPY_LIC_DIRS in
license.conf. This will create:

/usr/share/common-licenses/(package name)/(licenses in LIC_SRC_URI)

Word of warning. This can be larger than wanted depending on image
and is probably ripe for linking licenses, but I ran out of time this
week to get that done.

5. Custom License search path.

We now have the ability to add licenses to the build without touching
common-licenses. This is set via license.conf:

LICENSE_PATH += "/path/to/custom/licenses"

You want to make sure the license is unique. license.bbclass picks the
first license it finds.

(From OE-Core rev: 558b5043e1d5a36caff137093fd04abcf025af1c)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-08 15:24:30 +00:00
..
AAL common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
AFL-1.2 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
AFL-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
AFL-2.1 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
AFL-3.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
AGPL-3.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
ANTLR-PD common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
APL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
APSL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
APSL-1.1 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
APSL-1.2 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
APSL-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Adobe license: manifest and license path 2011-12-08 15:24:30 +00:00
Apache-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Apache-1.1 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Apache-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Artistic-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Artistic-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
BSD Initial commit of license reporting: 2011-01-28 16:49:13 +00:00
BSD-2-Clause common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
BSD-3-Clause common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
BSD-4-Clause common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
BSL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
BitstreamVera license: manifest and license path 2011-12-08 15:24:30 +00:00
CATOSL-1.1 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-2.5 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-3.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-NC-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-NC-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-NC-2.5 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-NC-3.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-NC-ND-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-NC-ND-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-NC-ND-2.5 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-NC-ND-3.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-NC-SA-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-NC-SA-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-NC-SA-2.5 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-NC-SA-3.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-ND-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-ND-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-ND-2.5 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-ND-3.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-SA-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-SA-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-SA-2.5 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC-BY-SA-3.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CC0-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CDDL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CECILL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CECILL-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CECILL-B common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CECILL-C common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CPAL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CPL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
CUA-OPL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
ClArtistic common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
DSSSL license: manifest and license path 2011-12-08 15:24:30 +00:00
ECL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
ECL-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
EDL-1.0 license: manifest and license path 2011-12-08 15:24:30 +00:00
EFL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
EFL-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
EPL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
EUDatagrid common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
EUPL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
EUPL-1.1 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Elfutils-Exception license: manifest and license path 2011-12-08 15:24:30 +00:00
Entessa common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
ErlPL-1.1 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
FSF-Unlimited license: manifest and license path 2011-12-08 15:24:30 +00:00
Fair common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Frameworx-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
FreeType license: manifest and license path 2011-12-08 15:24:30 +00:00
GFDL-1.1 common-licenses: Adding new licenses and renaming 2011-05-27 18:27:22 +01:00
GFDL-1.2 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
GFDL-1.3 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
GPL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
GPL-2-with-bison-exception common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
GPL-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
GPL-2.0-with-GCC-exception license: manifest and license path 2011-12-08 15:24:30 +00:00
GPL-2.0-with-autoconf-exception common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
GPL-2.0-with-classpath-exception common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
GPL-2.0-with-font-exception license: manifest and license path 2011-12-08 15:24:30 +00:00
GPL-3.0 license: manifest and license path 2011-12-08 15:24:30 +00:00
GPL-3.0-with-GCC-exception common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
GPL-3.0-with-autoconf-exception common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
HPND common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
IPA common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
IPL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
ISC common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
LGPL-2.0 license: manifest and license path 2011-12-08 15:24:30 +00:00
LGPL-2.1 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
LGPL-3.0 license: manifest and license path 2011-12-08 15:24:30 +00:00
LPL-1.02 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
LPPL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
LPPL-1.1 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
LPPL-1.2 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
LPPL-1.3c common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Libpng common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
MIT common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
MPL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
MPL-1.1 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
MS-PL common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
MS-RL common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
MirOS common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Motosoto common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Multics common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
NASA-1.3 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
NCSA common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
NGPL common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
NPOSL-3.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
NTP common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Nauman common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Nokia common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
OASIS license: manifest and license path 2011-12-08 15:24:30 +00:00
OCLC-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
ODbL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
OFL-1.1 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
OGTSL common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
OLDAP-2.8 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
OSL-1.0 license: manifest and license path 2011-12-08 15:24:30 +00:00
OSL-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
OSL-3.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
OpenSSL common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
PD common-licenses: Adding new licenses and renaming 2011-05-27 18:27:22 +01:00
PHP-3.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
PostgreSQL common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Proprietary license: manifest and license path 2011-12-08 15:24:30 +00:00
Python-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
QPL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
RHeCos-1 common-licenses: Adding new licenses and renaming 2011-05-27 18:27:22 +01:00
RHeCos-1.1 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
RPL-1.5 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
RPSL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
RSCPL common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Ruby common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
SAX-PD common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
SPL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Simple-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Sleepycat common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
SugarCRM-1 common-licenses: Adding new licenses and renaming 2011-05-27 18:27:22 +01:00
SugarCRM-1.1.3 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
UCB license: manifest and license path 2011-12-08 15:24:30 +00:00
VSL-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
W3C common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
WXwindows common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Watcom-1.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
XFree86-1.1 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Xnet common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
YPL-1.1 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
ZPL-1.1 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
ZPL-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
ZPL-2.1 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Zimbra-1.3 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
Zlib common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
eCos-2.0 common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00
gSOAP-1 common-licenses: Adding new licenses and renaming 2011-05-27 18:27:22 +01:00
gSOAP-1.3b common-licenses: Additions and corrections 2011-06-23 23:44:49 +01:00