summaryrefslogtreecommitdiffstats
path: root/meta/conf/licenses.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/licenses.conf')
-rw-r--r--meta/conf/licenses.conf167
1 files changed, 167 insertions, 0 deletions
diff --git a/meta/conf/licenses.conf b/meta/conf/licenses.conf
new file mode 100644
index 0000000..b41d0a8
--- /dev/null
+++ b/meta/conf/licenses.conf
@@ -0,0 +1,167 @@
1# These aren't actually used anywhere that I can tell
2# They may be in the future (or are used by someone else
3# For completion sake, I've updated them
4SRC_DISTRIBUTE_LICENSES += "AAL Adobe AFL-1.2 AFL-2.0 AFL-2.1 AFL-3.0"
5SRC_DISTRIBUTE_LICENSES += "AGPL-3.0 ANTLR-PD Apache-1.0 Apache-1.1 Apache-2.0"
6SRC_DISTRIBUTE_LICENSES += "APL-1.0 APSL-1.0 APSL-1.1 APSL-1.2 APSL-2.0"
7SRC_DISTRIBUTE_LICENSES += "Artistic-1.0 Artistic-2.0 BitstreamVera BSD"
8SRC_DISTRIBUTE_LICENSES += "BSD-2-Clause BSD-3-Clause BSD-4-Clause BSL-1.0"
9SRC_DISTRIBUTE_LICENSES += "CATOSL-1.1 CC0-1.0 CC-BY-1.0 CC-BY-2.0 CC-BY-2.5"
10SRC_DISTRIBUTE_LICENSES += "CC-BY-3.0 CC-BY-NC-1.0 CC-BY-NC-2.0 CC-BY-NC-2.5"
11SRC_DISTRIBUTE_LICENSES += "CC-BY-NC-3.0 CC-BY-NC-ND-1.0 CC-BY-NC-ND-2.0"
12SRC_DISTRIBUTE_LICENSES += "CC-BY-NC-ND-2.5 CC-BY-NC-ND-3.0 CC-BY-NC-SA-1.0"
13SRC_DISTRIBUTE_LICENSES += "CC-BY-NC-SA-2.0 CC-BY-NC-SA-2.5 CC-BY-NC-SA-3.0"
14SRC_DISTRIBUTE_LICENSES += "CC-BY-ND-1.0 CC-BY-ND-2.0 CC-BY-ND-2.5 CC-BY-ND-3.0"
15SRC_DISTRIBUTE_LICENSES += "CC-BY-SA-1.0 CC-BY-SA-2.0 CC-BY-SA-2.5 CC-BY-SA-3.0"
16SRC_DISTRIBUTE_LICENSES += "CDDL-1.0 CECILL-1.0 CECILL-2.0 CECILL-B CECILL-C"
17SRC_DISTRIBUTE_LICENSES += "ClArtistic CPAL-1.0 CPL-1.0 CUA-OPL-1.0 DSSSL"
18SRC_DISTRIBUTE_LICENSES += "ECL-1.0 ECL-2.0 eCos-2.0 EDL-1.0 EFL-1.0 EFL-2.0"
19SRC_DISTRIBUTE_LICENSES += "Elfutils-Exception Entessa EPL-1.0 ErlPL-1.1"
20SRC_DISTRIBUTE_LICENSES += "EUDatagrid EUPL-1.0 EUPL-1.1 Fair Frameworx-1.0"
21SRC_DISTRIBUTE_LICENSES += "FreeType GFDL-1.1 GFDL-1.2 GFDL-1.3 GPL-1.0"
22SRC_DISTRIBUTE_LICENSES += "GPL-2.0 GPL-2.0-with-autoconf-exception"
23SRC_DISTRIBUTE_LICENSES += "GPL-2.0-with-classpath-exception"
24SRC_DISTRIBUTE_LICENSES += "GPL-2.0-with-font-exception"
25SRC_DISTRIBUTE_LICENSES += "GPL-2.0-with-GCC-exception"
26SRC_DISTRIBUTE_LICENSES += "GPL-2-with-bison-exception GPL-3.0"
27SRC_DISTRIBUTE_LICENSES += "GPL-3.0-with-autoconf-exception"
28SRC_DISTRIBUTE_LICENSES += "GPL-3.0-with-GCC-exception"
29SRC_DISTRIBUTE_LICENSES += "gSOAP-1 gSOAP-1.3b HPND IPA IPL-1.0 ISC LGPL-2.0"
30SRC_DISTRIBUTE_LICENSES += "LGPL-2.1 LGPL-3.0 Libpng LPL-1.02 LPPL-1.0 LPPL-1.1"
31SRC_DISTRIBUTE_LICENSES += "LPPL-1.2 LPPL-1.3c MirOS MIT Motosoto MPL-1.0"
32SRC_DISTRIBUTE_LICENSES += "MPL-1.1 MS-PL MS-RL Multics NASA-1.3 Nauman NCSA"
33SRC_DISTRIBUTE_LICENSES += "NGPL Nokia NPOSL-3.0 NTP OASIS OCLC-2.0 ODbL-1.0"
34SRC_DISTRIBUTE_LICENSES += "OFL-1.1 OGTSL OLDAP-2.8 OpenSSL OSL-1.0 OSL-2.0"
35SRC_DISTRIBUTE_LICENSES += "OSL-3.0 PD PHP-3.0 PostgreSQL Proprietary"
36SRC_DISTRIBUTE_LICENSES += "Python-2.0 QPL-1.0 RHeCos-1 RHeCos-1.1 RPL-1.5"
37SRC_DISTRIBUTE_LICENSES += "RPSL-1.0 RSCPL Ruby SAX-PD SGI-1 Simple-2.0 Sleepycat"
38SRC_DISTRIBUTE_LICENSES += "SPL-1.0 SugarCRM-1 SugarCRM-1.1.3 UCB VSL-1.0 W3C"
39SRC_DISTRIBUTE_LICENSES += "Watcom-1.0 WXwindows XFree86-1.1 Xnet YPL-1.1"
40SRC_DISTRIBUTE_LICENSES += "Zimbra-1.3 Zlib ZPL-1.1 ZPL-2.0 ZPL-2.1"
41
42# Standards are great! Everyone has their own. In an effort to standardize licensing
43# names, common-licenses will use the SPDX standard license names. In order to not
44# break the non-standardized license names that we find in LICENSE, we'll set
45# up a bunch of VarFlags to accomodate non-SPDX license names.
46#
47# We should really discuss standardizing this field, but that's a longer term goal.
48# For now, we can do this and it should grab the most common LICENSE naming variations.
49#
50# We should NEVER have a GPL/LGPL without a version!!!!
51# Any mapping to MPL/LGPL/GPL should be fixed
52# see: https://wiki.yoctoproject.org/wiki/License_Audit
53
54# GPL variations
55SPDXLICENSEMAP[GPL-1] = "GPL-1.0"
56SPDXLICENSEMAP[GPLv1] = "GPL-1.0"
57SPDXLICENSEMAP[GPLv1.0] = "GPL-1.0"
58SPDXLICENSEMAP[GPL-2] = "GPL-2.0"
59SPDXLICENSEMAP[GPLv2] = "GPL-2.0"
60SPDXLICENSEMAP[GPLv2.0] = "GPL-2.0"
61SPDXLICENSEMAP[GPL-3] = "GPL-3.0"
62SPDXLICENSEMAP[GPLv3] = "GPL-3.0"
63SPDXLICENSEMAP[GPLv3.0] = "GPL-3.0"
64
65#LGPL variations
66SPDXLICENSEMAP[LGPLv2] = "LGPL-2.0"
67SPDXLICENSEMAP[LGPLv2.0] = "LGPL-2.0"
68SPDXLICENSEMAP[LGPL2.1] = "LGPL-2.1"
69SPDXLICENSEMAP[LGPLv2.1] = "LGPL-2.1"
70SPDXLICENSEMAP[LGPLv3] = "LGPL-3.0"
71
72#MPL variations
73SPDXLICENSEMAP[MPL-1] = "MPL-1.0"
74SPDXLICENSEMAP[MPLv1] = "MPL-1.0"
75SPDXLICENSEMAP[MPLv1.1] = "MPL-1.1"
76SPDXLICENSEMAP[MPLv2] = "MPL-2.0"
77
78#MIT variations
79SPDXLICENSEMAP[MIT-X] = "MIT"
80SPDXLICENSEMAP[MIT-style] = "MIT"
81
82#Openssl variations
83SPDXLICENSEMAP[openssl] = "OpenSSL"
84
85#Python variations
86SPDXLICENSEMAP[PSF] = "Python-2.0"
87SPDXLICENSEMAP[PSFv2] = "Python-2.0"
88SPDXLICENSEMAP[Python-2] = "Python-2.0"
89
90#Apache variations
91SPDXLICENSEMAP[Apachev2] = "Apache-2.0"
92SPDXLICENSEMAP[Apache-2] = "Apache-2.0"
93
94#Artistic variations
95SPDXLICENSEMAP[Artisticv1] = "Artistic-1.0"
96SPDXLICENSEMAP[Artistic-1] = "Artistic-1.0"
97
98#Academic variations
99SPDXLICENSEMAP[AFL-2] = "AFL-2.0"
100SPDXLICENSEMAP[AFL-1] = "AFL-1.2"
101SPDXLICENSEMAP[AFLv2] = "AFL-2.0"
102SPDXLICENSEMAP[AFLv1] = "AFL-1.2"
103
104#Other variations
105SPDXLICENSEMAP[EPLv1.0] = "EPL-1.0"
106
107#Silicon Graphics variations
108SPDXLICENSEMAP[SGIv1] = "SGI-1"
109
110# Additional license directories. Add your custom licenses directories this path.
111# LICENSE_PATH += "${COREBASE}/custom-licenses"
112
113# Set if you want the license.manifest copied to the image
114#COPY_LIC_MANIFEST = "1"
115
116# If you want the pkg licenses copied over as well you must set
117# both COPY_LIC_MANIFEST and COPY_LIC_DIRS
118#COPY_LIC_DIRS = "1"
119
120## SPDX temporary directory
121SPDX_TEMP_DIR = "${WORKDIR}/spdx_temp"
122SPDX_MANIFEST_DIR = "/home/yocto/fossology_scans"
123
124## SPDX Format info
125SPDX_VERSION = "SPDX-1.1"
126DATA_LICENSE = "CC0-1.0"
127
128## Fossology scan information
129# You can set option to control if the copyright information will be skipped
130# during the identification process.
131#
132# It is defined as [FOSS_COPYRIGHT] in ./meta/conf/licenses.conf.
133# FOSS_COPYRIGHT = "true"
134# NO copyright will be processed. That means only license information will be
135# identified and output to SPDX file
136# FOSS_COPYRIGHT = "false"
137# Copyright will be identified and output to SPDX file along with license
138# information. The process will take more time than not processing copyright
139# information.
140#
141
142FOSS_COPYRIGHT = "true"
143
144# A option defined as[FOSS_RECURSIVE_UNPACK] in ./meta/conf/licenses.conf. is
145# used to control if FOSSology server need recursively unpack tar.gz file which
146# is sent from do_spdx task.
147#
148# FOSS_RECURSIVE_UNPACK = "false":
149# FOSSology server does NOT recursively unpack. In the current release, this
150# is the default choice because recursively unpack will not necessarily break
151# down original compressed files.
152# FOSS_RECURSIVE_UNPACK = "true":
153# FOSSology server recursively unpack components.
154#
155
156FOSS_RECURSIVE_UNPACK = "false"
157
158# FOSSologySPDX instance server.
159# For more information on FOSSologySPDX commandline:
160# https://github.com/spdx-tools/fossology-spdx/wiki/Fossology-SPDX-Web-API
161#
162
163FOSS_SERVER = "http://localhost//?mod=spdx_license_once&noCopyright=${FOSS_COPYRIGHT}&recursiveUnpack=${FOSS_RECURSIVE_UNPACK}"
164
165FOSS_WGET_FLAGS = "-qO - --no-check-certificate --timeout=0"
166
167