Skip to content

Commit 209370a

Browse files
committed
declared-license-mapping: Separate ambiguous mappings
As agreed upon in the ORT Community meeting of November 24, 2022 [1]. [1]: https://github.com/oss-review-toolkit/ort/wiki/Community-Meeting#2022-11-24 Signed-off-by: Thomas Steenbergen <[email protected]>
1 parent d9c6386 commit 209370a

File tree

1 file changed

+58
-54
lines changed

1 file changed

+58
-54
lines changed

utils/spdx/src/main/resources/declared-license-mapping.yml

Lines changed: 58 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,64 @@
1818
# Sort the entries below via IntelliJ's "Edit" -> "Sort Lines".
1919
# Map a declared license string to "NONE" in order to discard it.
2020
---
21+
22+
# Ambiguous mappings (mapping reason not obvious without additional information)
23+
"Academic Free License (AFL)": AFL-2.1
24+
"Apache License": Apache-2.0
25+
"Apache Software Licenses": Apache-2.0
26+
"Apache Software": Apache-2.0
27+
"Apple Public Source License": APSL-1.0
28+
"Artistic License": Artistic-2.0
29+
"BSD licence": BSD-3-Clause
30+
"BSD or Apache License, Version 2.0": BSD-3-Clause OR Apache-2.0
31+
"BSD style license": BSD-3-Clause
32+
"BSD style": BSD-3-Clause
33+
"BSD*": BSD-3-Clause
34+
"BSD-like license": BSD-3-Clause
35+
"BSD-style license": BSD-3-Clause
36+
"CDDL + GPLv2 with classpath exception": CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0
37+
"CDDL License": CDDL-1.0
38+
"CDDL or GPL 2 with Classpath Exception": CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0
39+
"CDDL or GPLv2 with exceptions": CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0
40+
"CDDL+GPL License": CDDL-1.0 OR GPL-2.0-or-later
41+
"CDDL+GPL": CDDL-1.0 OR GPL-2.0-or-later
42+
"CDDL+GPLv2": CDDL-1.0 OR GPL-2.0-only
43+
"CDDL/GPLv2 dual license": CDDL-1.0 OR GPL-2.0-only
44+
"CDDL/GPLv2+CE": CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0
45+
"Common Development and Distribution License": CDDL-1.0
46+
"Creative Commons - BY": CC-BY-3.0
47+
"Creative Commons Attribution License": CC-BY-3.0
48+
"Creative Commons": CC-BY-3.0
49+
"Eclipse Public License (EPL)": EPL-1.0
50+
"GNU Free Documentation License (FDL)": GFDL-1.3-or-later
51+
"GNU General Public License (GPL)": GPL-3.0-or-later
52+
"GNU LGPL": LGPL-2.1-or-later
53+
"GNU Lesser General Public Licence": LGPL-2.1-or-later
54+
"GNU Lesser General Public License (LGPL)": LGPL-2.1-or-later
55+
"GNU Lesser General Public License": LGPL-2.1-or-later
56+
"GNU Lesser Public License": LGPL-2.1-or-later
57+
"GNU Library or Lesser General Public License (LGPL)": LGPL-2.1-or-later
58+
"GNU Public": GPL-2.0-or-later
59+
"GPL (with dual licensing option)": GPL-2.0-or-later
60+
"General Public License (GPL)": GPL-2.0-or-later
61+
"Individual BSD License": BSD-3-Clause
62+
"LGPL with exceptions or ZPL": LGPL-3.0-or-later OR ZPL-2.1
63+
"LGPL+BSD": LGPL-2.1-or-later AND BSD-2-Clause
64+
"LGPL/MIT": LGPL-3.0-or-later OR MIT
65+
"LPGL, see LICENSE file.": LGPL-3.0-or-later
66+
"Lesser General Public License (LGPL)": LGPL-2.1-or-later
67+
"Mozilla Public License": MPL-2.0
68+
"NetBeans CDDL/GPL": CDDL-1.0 OR GPL-2.0-or-later
69+
"The Apache License": Apache-2.0
70+
"The BSD Software License": BSD-2-Clause
71+
"bsd 4-clause": BSD-3-Clause
72+
"eclipse license": EPL-1.0
73+
"eiffel license (EFL)": EFL-2.0
74+
"gnu gpl": GPL-2.0-or-later
75+
"lgplv2 or later": LGPL-2.1-or-later
76+
"netscape License": NPL-1.1
77+
78+
# Non-ambiguous mappings
2179
"(MIT-style) netCDF C library license": NetCDF
2280
"2-clause BSD license": BSD-2-Clause
2381
"2-clause BSDL": BSD-2-Clause
@@ -31,7 +89,6 @@
3189
"ASL 2": Apache-2.0
3290
"ASL 2.0": Apache-2.0
3391
"ASL, version 2": Apache-2.0
34-
"Academic Free License (AFL)": AFL-2.1
3592
"Academic Free License (AFL-2.1)": AFL-2.1
3693
"Affero General Public License (AGPL) v. 3": AGPL-3.0-only
3794
"Aladdin Free Public License (AFPL)": Aladdin
@@ -49,7 +106,6 @@
49106
"Apache License Version 2.0": Apache-2.0
50107
"Apache License v2": Apache-2.0
51108
"Apache License v2.0": Apache-2.0
52-
"Apache License": Apache-2.0
53109
"Apache License, 2.0": Apache-2.0
54110
"Apache License, ASL Version 2.0": Apache-2.0
55111
"Apache License, V2 or later": Apache-2.0
@@ -67,18 +123,14 @@
67123
"Apache Software License, Version 2": Apache-2.0
68124
"Apache Software License, version 1.1": Apache-1.1
69125
"Apache Software License, version 2.0": Apache-2.0
70-
"Apache Software Licenses": Apache-2.0
71-
"Apache Software": Apache-2.0
72126
"Apache v 2.0": Apache-2.0
73127
"Apache v2": Apache-2.0
74128
"Apache v2.0": Apache-2.0
75129
"Apache version 2.0": Apache-2.0
76130
"Apache, Version 2.0": Apache-2.0
77131
"Apache-2.0 */ &#39; &quot; &#x3D;end --\n": Apache-2.0
78132
"Apache-2.0 license": Apache-2.0
79-
"Apple Public Source License": APSL-1.0
80133
"Artistic 2.0": Artistic-2.0
81-
"Artistic License": Artistic-2.0
82134
"BSD (3-clause)": BSD-3-Clause
83135
"BSD - See ndg/httpsclient/LICENCE file for details": BSD-3-Clause
84136
"BSD 2 Clause": BSD-2-Clause
@@ -103,16 +155,9 @@
103155
"BSD New": BSD-3-Clause
104156
"BSD Three Clause License": BSD-3-Clause
105157
"BSD Two Clause License": BSD-2-Clause
106-
"BSD licence": BSD-3-Clause
107-
"BSD or Apache License, Version 2.0": BSD-3-Clause OR Apache-2.0
108-
"BSD style license": BSD-3-Clause
109-
"BSD style": BSD-3-Clause
110-
"BSD*": BSD-3-Clause
111158
"BSD-3 Clause": BSD-3-Clause
112159
"BSD-Style + Attribution": BSD-3-Clause-Attribution
113160
"BSD-derived (http://www.repoze.org/LICENSE.txt)": LicenseRef-scancode-repoze
114-
"BSD-like license": BSD-3-Clause
115-
"BSD-style license": BSD-3-Clause
116161
"Berkeley Software Distribution (BSD) License": BSD-2-Clause
117162
"Boost License v1.0": BSL-1.0
118163
"Boost License": BSL-1.0
@@ -123,20 +168,11 @@
123168
"CC0 1.0 Universal (CC0 1.0) Public Domain Dedication": CC0-1.0
124169
"CC0 1.0 Universal License": CC0-1.0
125170
"CC0 1.0 Universal": CC0-1.0
126-
"CDDL + GPLv2 with classpath exception": CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0
127171
"CDDL 1.0": CDDL-1.0
128172
"CDDL 1.1": CDDL-1.1
129-
"CDDL License": CDDL-1.0
130-
"CDDL or GPL 2 with Classpath Exception": CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0
131-
"CDDL or GPLv2 with exceptions": CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0
132173
"CDDL v1.0 / GPL v2 dual license": CDDL-1.0 OR GPL-2.0-only
133174
"CDDL v1.1 / GPL v2 dual license": CDDL-1.0 OR GPL-2.0-only
134-
"CDDL+GPL License": CDDL-1.0 OR GPL-2.0-or-later
135-
"CDDL+GPL": CDDL-1.0 OR GPL-2.0-or-later
136-
"CDDL+GPLv2": CDDL-1.0 OR GPL-2.0-only
137175
"CDDL, v1.0": CDDL-1.0
138-
"CDDL/GPLv2 dual license": CDDL-1.0 OR GPL-2.0-only
139-
"CDDL/GPLv2+CE": CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0
140176
"CEA CNRS Inria Logiciel Libre License, version 2.1 (CeCILL-2.1)": CECILL-2.1
141177
"CEA CNRS Inria Logiciel Libre License, version 2.1": CECILL-2.1
142178
"CECILL v2": CECILL-2.0
@@ -152,13 +188,11 @@
152188
"CeCILL-C Free Software License Agreement (CECILL-C)": CECILL-C
153189
"Common Development and Distribution License (CDDL) v1.0": CDDL-1.0
154190
"Common Development and Distribution License (CDDL), Version 1.1": CDDL-1.1
155-
"Common Development and Distribution License": CDDL-1.0
156191
"Common Public License - v 1.0": CPL-1.0
157192
"Common Public License Version 1.0": CPL-1.0
158193
"Common Public License": CPL-1.0
159194
"Commons Clause": LicenseRef-scancode-commons-clause
160195
"Creative Commons - Attribution 4.0 International License": CC-BY-4.0
161-
"Creative Commons - BY": CC-BY-3.0
162196
"Creative Commons 3.0 BY-SA": CC-BY-SA-3.0
163197
"Creative Commons 3.0": CC-BY-3.0
164198
"Creative Commons Attribution 1.0": CC-BY-1.0
@@ -170,7 +204,6 @@
170204
"Creative Commons Attribution 4.0 International (CC BY 4.0)": CC-BY-4.0
171205
"Creative Commons Attribution 4.0 International Public License": CC-BY-4.0
172206
"Creative Commons Attribution 4.0": CC-BY-4.0
173-
"Creative Commons Attribution License": CC-BY-3.0
174207
"Creative Commons Attribution-NonCommercial 4.0 International": CC-BY-NC-4.0
175208
"Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International": CC-BY-NC-ND-4.0
176209
"Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0)": CC-BY-NC-SA-3.0
@@ -181,7 +214,6 @@
181214
"Creative Commons License Attribution-NonCommercial-ShareAlike 3.0 Unported": CC-BY-NC-SA-3.0
182215
"Creative Commons Public Domain": CC-PDDC
183216
"Creative Commons Zero": CC0-1.0
184-
"Creative Commons": CC-BY-3.0
185217
"DBAD": LicenseRef-scancode-dbad
186218
"DFSG approved": LicenseRef-scancode-free-unknown
187219
"Dual License: CDDL 1.0 and GPL V2 with Classpath Exception": CDDL-1.0 OR GPL-2.0-only
@@ -195,7 +227,6 @@
195227
"Eclipse Distribution License v. 1.0": BSD-3-Clause
196228
"Eclipse Public License (EPL) 1.0": EPL-1.0
197229
"Eclipse Public License (EPL) 2.0": EPL-2.0
198-
"Eclipse Public License (EPL)": EPL-1.0
199230
"Eclipse Public License (EPL), Version 1.0": EPL-1.0
200231
"Eclipse Public License - Version 1.0": EPL-1.0
201232
"Eclipse Public License - Version 2.0": EPL-2.0
@@ -235,7 +266,6 @@
235266
"GNU Affero General Public License v3": AGPL-3.0-only
236267
"GNU Affero General Public License, Version 3 with the Commons Clause": AGPL-3.0-only AND LicenseRef-scancode-public-domain-disclaimer
237268
"GNU Affero General Public License, Version 3": AGPL-3.0-only
238-
"GNU Free Documentation License (FDL)": GFDL-1.3-or-later
239269
"GNU Free Documentation License (GFDL-1.3)": GFDL-1.3-only
240270
"GNU GENERAL PUBLIC LICENSE Version 2, June 1991": GPL-2.0-only
241271
"GNU GPL v2": GPL-2.0-only
@@ -244,7 +274,6 @@
244274
"GNU General Public Library": GPL-3.0-or-later
245275
"GNU General Public License (GPL) v. 2": GPL-2.0-only
246276
"GNU General Public License (GPL) v. 3": GPL-3.0-only
247-
"GNU General Public License (GPL)": GPL-3.0-or-later
248277
"GNU General Public License (GPL), version 2, with the Classpath exception": GPL-2.0-only WITH Classpath-exception-2.0
249278
"GNU General Public License 3": GPL-3.0-only
250279
"GNU General Public License Version 2": GPL-2.0-only
@@ -271,9 +300,6 @@
271300
"GNU LGPL v2.1": LGPL-2.1-or-later
272301
"GNU LGPL v3": LGPL-3.0-only
273302
"GNU LGPL v3+": LGPL-3.0-or-later
274-
"GNU LGPL": LGPL-2.1-or-later
275-
"GNU Lesser General Public Licence": LGPL-2.1-or-later
276-
"GNU Lesser General Public License (LGPL)": LGPL-2.1-or-later
277303
"GNU Lesser General Public License (LGPL), Version 2.1": LGPL-2.1-only
278304
"GNU Lesser General Public License (LGPL), Version 3": LGPL-3.0-only
279305
"GNU Lesser General Public License (LGPL), version 2.1 or later": LGPL-2.1-or-later
@@ -286,15 +312,10 @@
286312
"GNU Lesser General Public License v3 or later (LGPLv3+)": LGPL-3.0-or-later
287313
"GNU Lesser General Public License v3+": LGPL-3.0-or-later
288314
"GNU Lesser General Public License version 2.1 (LGPLv2.1)": LGPL-2.1-only
289-
"GNU Lesser General Public License": LGPL-2.1-or-later
290315
"GNU Lesser General Public License, Version 2.1": LGPL-2.1-only
291316
"GNU Lesser General Public License, Version 2.1, February 1999": LGPL-2.1-only
292317
"GNU Lesser General Public License, Version 3": LGPL-3.0-only
293-
"GNU Lesser Public License": LGPL-2.1-or-later
294-
"GNU Library or Lesser General Public License (LGPL)": LGPL-2.1-or-later
295318
"GNU Library or Lesser General Public License version 2.0 (LGPLv2)": LGPL-2.0-only
296-
"GNU Public": GPL-2.0-or-later
297-
"GPL (with dual licensing option)": GPL-2.0-or-later
298319
"GPL 2": GPL-2.0-only
299320
"GPL 3": GPL-3.0-only
300321
"GPL v2 with ClassPath Exception": GPL-2.0-only WITH Classpath-exception-2.0
@@ -306,7 +327,6 @@
306327
"GPLv2 license, includes the CLASSPATH exception": GPL-2.0-only WITH Classpath-exception-2.0
307328
"GPLv2+CE": GPL-2.0-only WITH Classpath-exception-2.0
308329
"GWT Terms": Apache-2.0 AND BSD-3-Clause AND CC0-1.0 AND EPL-1.0 AND LGPL-2.1-only AND MPL-1.1
309-
"General Public License (GPL)": GPL-2.0-or-later
310330
"General Public License 2.0 (GPL)": GPL-2.0-only
311331
"Go license": BSD-3-Clause
312332
"Google Maps Platform Terms of Service": LicenseRef-ort-google-maps-tos
@@ -320,7 +340,6 @@
320340
"Indiana University Extreme! Lab Software License 1.1.1": LicenseRef-scancode-indiana-extreme
321341
"Indiana University Extreme! Lab Software License, version 1.1.1": LicenseRef-scancode-indiana-extreme
322342
"Indiana University Extreme! Lab Software License, vesion 1.1.1": LicenseRef-scancode-indiana-extreme
323-
"Individual BSD License": BSD-3-Clause
324343
"Jabber Open Source License": LicenseRef-scancode-josl-1.0
325344
"Jython Software License": Python-2.0
326345
"Kirkk.com BSD License": BSD-3-Clause
@@ -331,15 +350,10 @@
331350
"LGPL v3": LGPL-3.0-only
332351
"LGPL v3+": LGPL-3.0-or-later
333352
"LGPL v3.0": LGPL-3.0-only
334-
"LGPL with exceptions or ZPL": LGPL-3.0-or-later OR ZPL-2.1
335-
"LGPL+BSD": LGPL-2.1-or-later AND BSD-2-Clause
336353
"LGPL, v2.1 or later": LGPL-2.1-or-later
337354
"LGPL, version 2.1": LGPL-2.1-only
338355
"LGPL, version 3.0": LGPL-3.0-only
339-
"LGPL/MIT": LGPL-3.0-or-later OR MIT
340356
"LGPLv3 or later": LGPL-3.0-or-later
341-
"LPGL, see LICENSE file.": LGPL-3.0-or-later
342-
"Lesser General Public License (LGPL)": LGPL-2.1-or-later
343357
"Lesser General Public License, version 3 or greater": LGPL-3.0-or-later
344358
"License Agreement For Open Source Computer Vision Library (3-clause BSD License)": BSD-3-Clause
345359
"MIT (http://mootools.net/license.txt)": MIT
@@ -370,11 +384,9 @@
370384
"Mozilla Public License Version 1.1": MPL-1.1
371385
"Mozilla Public License Version 2.0": MPL-2.0
372386
"Mozilla Public License v 2.0": MPL-2.0
373-
"Mozilla Public License": MPL-2.0
374387
"Mozilla Public License, Version 2.0": MPL-2.0
375388
"NCSA License": NCSA
376389
"NCSA Open Source License": NCSA
377-
"NetBeans CDDL/GPL": CDDL-1.0 OR GPL-2.0-or-later
378390
"Netscape Public License (NPL)": NPL-1.0
379391
"Netscape Public License": NPL-1.0
380392
"New BSD License": BSD-3-Clause
@@ -419,14 +431,12 @@
419431
"TMate Open Source License (with dual licensing option)": TMate
420432
"The (New) BSD License": BSD-3-Clause
421433
"The Apache 2.0 License": Apache-2.0
422-
"The Apache License": Apache-2.0
423434
"The Apache License, Version 2.0": Apache-2.0
424435
"The Apache Software Licence, Version 2.0": Apache-2.0
425436
"The Apache Software License, Version 1.1": Apache-1.1
426437
"The Apache Software License, Version 2.0": Apache-2.0
427438
"The BSD 2-Clause License": BSD-2-Clause
428439
"The BSD 3-Clause License": BSD-3-Clause
429-
"The BSD Software License": BSD-2-Clause
430440
"The Eclipse Public License Version 1.0": EPL-1.0
431441
"The Eclipse Public License Version 2.0": EPL-2.0
432442
"The GNU General Public License (GPL), Version 2, With Classpath Exception": GPL-2.0-only WITH Classpath-exception-2.0
@@ -463,7 +473,6 @@
463473
"Zope Public": ZPL-2.1
464474
"['MIT']": MIT
465475
"artistic license v2.0": Artistic-2.0
466-
"bsd 4-clause": BSD-3-Clause
467476
"bzip2 license": bzip2-1.0.6
468477
"cc by-nc-sa 2.0": CC-BY-NC-SA-2.0
469478
"cc by-nc-sa 2.5": CC-BY-NC-SA-2.5
@@ -481,8 +490,6 @@
481490
"cpal v1.0": CPAL-1.0
482491
"eclipse 1.0": EPL-1.0
483492
"eclipse 2.0": EPL-2.0
484-
"eclipse license": EPL-1.0
485-
"eiffel license (EFL)": EFL-2.0
486493
"epl 1.0": EPL-1.0
487494
"epl 2.0": EPL-2.0
488495
"epl v1.0": EPL-1.0
@@ -500,7 +507,6 @@
500507
"european union public licence 1.1 (eupl 1.1)": EUPL-1.1
501508
"european union public licence 1.2 (eupl 1.2)": EUPL-1.2
502509
"gnu gpl v3": GPL-3.0-only
503-
"gnu gpl": GPL-2.0-or-later
504510
"gpl (≥ 3)": GPL-3.0-or-later
505511
"http://ant-contrib.sourceforge.net/tasks/LICENSE.txt": Apache-1.1
506512
"http://asm.ow2.org/license.html": BSD-3-Clause
@@ -562,8 +568,6 @@
562568
"https://www.scala-lang.org/license/": Apache-2.0 AND BSD-3-Clause AND MIT
563569
"icu-unicode license": ICU
564570
"jQuery license": MIT
565-
"lgplv2 or later": LGPL-2.1-or-later
566-
"netscape License": NPL-1.1
567571
"public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.txt)": LicenseRef-scancode-public-domain-disclaimer AND Python-2.0 AND BSD-2-Clause AND GPL-3.0-only
568572
"the Apache License, ASL Version 2.0": Apache-2.0
569573
"the gpl v3": GPL-3.0-only

0 commit comments

Comments
 (0)