blob: 7b01c57632ac3bf9a9dc732de5d2a2996fb132d9 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001# 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"
Brad Bishopa5c52ff2018-11-23 10:55:50 +130015SRC_DISTRIBUTE_LICENSES += "CC-BY-SA-1.0 CC-BY-SA-2.0 CC-BY-SA-2.5 CC-BY-SA-3.0 CC-BY-SA-4.0"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050016SRC_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"
Brad Bishopc342db32019-05-15 21:57:59 -040019SRC_DISTRIBUTE_LICENSES += "Entessa EPL-1.0 EPL-2.0 ErlPL-1.1"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020SRC_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.0 XFree86-1.1 Xnet XSL 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
53# AGPL variations
54SPDXLICENSEMAP[AGPL-3] = "AGPL-3.0"
55SPDXLICENSEMAP[AGPLv3] = "AGPL-3.0"
56SPDXLICENSEMAP[AGPLv3.0] = "AGPL-3.0"
57
58# GPL variations
59SPDXLICENSEMAP[GPL-1] = "GPL-1.0"
60SPDXLICENSEMAP[GPLv1] = "GPL-1.0"
61SPDXLICENSEMAP[GPLv1.0] = "GPL-1.0"
62SPDXLICENSEMAP[GPL-2] = "GPL-2.0"
63SPDXLICENSEMAP[GPLv2] = "GPL-2.0"
64SPDXLICENSEMAP[GPLv2.0] = "GPL-2.0"
65SPDXLICENSEMAP[GPL-3] = "GPL-3.0"
66SPDXLICENSEMAP[GPLv3] = "GPL-3.0"
67SPDXLICENSEMAP[GPLv3.0] = "GPL-3.0"
68
69#LGPL variations
70SPDXLICENSEMAP[LGPLv2] = "LGPL-2.0"
71SPDXLICENSEMAP[LGPLv2.0] = "LGPL-2.0"
72SPDXLICENSEMAP[LGPL2.1] = "LGPL-2.1"
73SPDXLICENSEMAP[LGPLv2.1] = "LGPL-2.1"
74SPDXLICENSEMAP[LGPLv3] = "LGPL-3.0"
75
76#MPL variations
77SPDXLICENSEMAP[MPL-1] = "MPL-1.0"
78SPDXLICENSEMAP[MPLv1] = "MPL-1.0"
79SPDXLICENSEMAP[MPLv1.1] = "MPL-1.1"
80SPDXLICENSEMAP[MPLv2] = "MPL-2.0"
81
82#MIT variations
83SPDXLICENSEMAP[MIT-X] = "MIT"
84SPDXLICENSEMAP[MIT-style] = "MIT"
85
86#Openssl variations
87SPDXLICENSEMAP[openssl] = "OpenSSL"
88
89#Python variations
90SPDXLICENSEMAP[PSF] = "Python-2.0"
91SPDXLICENSEMAP[PSFv2] = "Python-2.0"
92SPDXLICENSEMAP[Python-2] = "Python-2.0"
93
94#Apache variations
95SPDXLICENSEMAP[Apachev2] = "Apache-2.0"
96SPDXLICENSEMAP[Apache-2] = "Apache-2.0"
97
98#Artistic variations
99SPDXLICENSEMAP[Artisticv1] = "Artistic-1.0"
100SPDXLICENSEMAP[Artistic-1] = "Artistic-1.0"
101
102#Academic variations
103SPDXLICENSEMAP[AFL-2] = "AFL-2.0"
104SPDXLICENSEMAP[AFL-1] = "AFL-1.2"
105SPDXLICENSEMAP[AFLv2] = "AFL-2.0"
106SPDXLICENSEMAP[AFLv1] = "AFL-1.2"
107
Brad Bishopd7bf8c12018-02-25 22:55:05 -0500108#CDDL variations
109SPDXLICENSEMAP[CDDLv1] = "CDDL-1.0"
110SPDXLICENSEMAP[CDDL-1] = "CDDL-1.0"
111
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500112#Other variations
113SPDXLICENSEMAP[EPLv1.0] = "EPL-1.0"
114
115#Silicon Graphics variations
116SPDXLICENSEMAP[SGIv1] = "SGI-1"
117
118# Additional license directories. Add your custom licenses directories this path.
119# LICENSE_PATH += "${COREBASE}/custom-licenses"
120
121# Set if you want the license.manifest copied to the image
122#COPY_LIC_MANIFEST = "1"
123
124# If you want the pkg licenses copied over as well you must set
125# both COPY_LIC_MANIFEST and COPY_LIC_DIRS
126#COPY_LIC_DIRS = "1"
127
128## SPDX temporary directory
129SPDX_TEMP_DIR = "${WORKDIR}/spdx_temp"
130SPDX_MANIFEST_DIR = "/home/yocto/fossology_scans"
131
132## SPDX Format info
133SPDX_VERSION = "SPDX-1.1"
134DATA_LICENSE = "CC0-1.0"
135
136## Fossology scan information
137# You can set option to control if the copyright information will be skipped
138# during the identification process.
139#
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500140# FOSS_NO_COPYRIGHT = "true"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500141# NO copyright will be processed. That means only license information will be
142# identified and output to SPDX file
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500143# FOSS_NO_COPYRIGHT = "false"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500144# Copyright will be identified and output to SPDX file along with license
145# information. The process will take more time than not processing copyright
146# information.
147#
148
149FOSS_NO_COPYRIGHT = "true"
150
151# A option defined as[FOSS_RECURSIVE_UNPACK] in ./meta/conf/licenses.conf. is
152# used to control if FOSSology server need recursively unpack tar.gz file which
153# is sent from do_spdx task.
154#
155# FOSS_RECURSIVE_UNPACK = "false":
156# FOSSology server does NOT recursively unpack. In the current release, this
157# is the default choice because recursively unpack will not necessarily break
158# down original compressed files.
159# FOSS_RECURSIVE_UNPACK = "true":
160# FOSSology server recursively unpack components.
161#
162
163FOSS_RECURSIVE_UNPACK = "false"
164
165# An option defined as [FOSS_FULL_SPDX] in ./meta/conf/licenses.conf is used to
166# control what kind of SPDX output to get from the FOSSology server.
167#
168# FOSS_FULL_SPDX = "true":
169# Tell FOSSology server to return full SPDX output, like if the program was
170# run from the command line. This is needed in order to get license refs for
171# the full package rather than individual files only.
172#
173# FOSS_FULL_SPDX = "false":
174# Tell FOSSology to only process license information for files. All package
175# license tags in the report will be "NOASSERTION"
176#
177
178FOSS_FULL_SPDX = "true"
179
180# FOSSologySPDX instance server. http://localhost/repo is the default
181# installation location for FOSSology.
182#
183# For more information on FOSSologySPDX commandline:
184# https://github.com/spdx-tools/fossology-spdx/wiki/Fossology-SPDX-Web-API
185#
186
187FOSS_BASE_URL = "http://localhost/repo/?mod=spdx_license_once"
188FOSS_SERVER = "${FOSS_BASE_URL}&fullSPDXFlag=${FOSS_FULL_SPDX}&noCopyright=${FOSS_NO_COPYRIGHT}&recursiveUnpack=${FOSS_RECURSIVE_UNPACK}"
189
190FOSS_WGET_FLAGS = "-qO - --no-check-certificate --timeout=0"
191
192