Skip to content

Commit 4108505

Browse files
Regen tests for SPDX license list 3.23
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent 74d42f5 commit 4108505

File tree

18 files changed

+158
-147
lines changed

18 files changed

+158
-147
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
license_expressions:
2-
- broadcom-cfe
2+
- dec-3-clause
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
license_expressions:
2-
- fsf-ap
2+
- fsfap-no-warranty-disclaimer
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
license_expressions:
2-
- other-permissive
2+
- gtkbook
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
license_expressions:
2-
- other-permissive
2+
- sun-ppp

tests/licensedcode/data/datadriven/external/licensecheck/fedora/MIT.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ license_expressions:
3333
- x11 AND other-permissive
3434
- widget-workshop
3535
- other-permissive
36-
- other-permissive
36+
- openvision
3737
- other-permissive
3838
- other-permissive
3939
- unixcrypt
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
license_expressions:
2-
- fsf-ap
2+
- fsfap-no-warranty-disclaimer

tests/licensedcode/data/licenses_reference_reporting/license-reference-works-with-clues.expected.json

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@
9696
{
9797
"identifier": "openssl-e1da0b01-fab9-e27d-4ff3-c4944b09b621",
9898
"license_expression": "openssl",
99-
"license_expression_spdx": "LicenseRef-scancode-openssl",
99+
"license_expression_spdx": "OpenSSL-standalone",
100100
"detection_count": 1,
101101
"detection_log": [],
102102
"reference_matches": [
103103
{
104104
"license_expression": "openssl",
105-
"license_expression_spdx": "LicenseRef-scancode-openssl",
105+
"license_expression_spdx": "OpenSSL-standalone",
106106
"from_file": "python.LICENSE",
107107
"start_line": 440,
108108
"end_line": 487,
@@ -426,13 +426,13 @@
426426
{
427427
"identifier": "ssleay_windows-d3dabc12-d861-87db-b339-f73beba8703a",
428428
"license_expression": "ssleay-windows",
429-
"license_expression_spdx": "LicenseRef-scancode-ssleay-windows",
429+
"license_expression_spdx": "SSLeay-standalone",
430430
"detection_count": 1,
431431
"detection_log": [],
432432
"reference_matches": [
433433
{
434434
"license_expression": "ssleay-windows",
435-
"license_expression_spdx": "LicenseRef-scancode-ssleay-windows",
435+
"license_expression_spdx": "SSLeay-standalone",
436436
"from_file": "python.LICENSE",
437437
"start_line": 497,
438438
"end_line": 548,
@@ -717,14 +717,18 @@
717717
"is_exception": false,
718718
"is_unknown": false,
719719
"is_generic": false,
720-
"spdx_license_key": "LicenseRef-scancode-openssl",
721-
"other_spdx_license_keys": [],
720+
"spdx_license_key": "OpenSSL-standalone",
721+
"other_spdx_license_keys": [
722+
"LicenseRef-scancode-openssl"
723+
],
722724
"osi_license_key": null,
723725
"text_urls": [],
724726
"osi_url": null,
725727
"faq_url": "http://www.openssl.org/support/faq.html",
726728
"other_urls": [
727-
"http://www.openssl.org/source/license.html"
729+
"http://www.openssl.org/source/license.html",
730+
"https://library.netapp.com/ecm/ecm_download_file/ECMP1196395",
731+
"https://hstechdocs.helpsystems.com/manuals/globalscape/archive/cuteftp6/open_ssl_license_agreement.htm"
728732
],
729733
"key_aliases": [],
730734
"minimum_coverage": 70,
@@ -743,7 +747,7 @@
743747
"text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in\n the documentation and/or other materials provided with the\n distribution.\n\n3. All advertising materials mentioning features or use of this\n software must display the following acknowledgment:\n \"This product includes software developed by the OpenSSL Project\n for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)\"\n\n4. The names \"OpenSSL Toolkit\" and \"OpenSSL Project\" must not be used to\n endorse or promote products derived from this software without\n prior written permission. For written permission, please contact\n [email protected].\n\n5. Products derived from this software may not be called \"OpenSSL\"\n nor may \"OpenSSL\" appear in their names without prior written\n permission of the OpenSSL Project.\n\n6. Redistributions of any form whatsoever must retain the following\n acknowledgment:\n \"This product includes software developed by the OpenSSL Project\n for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)\"\n\nTHIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY\nEXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR\nITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\nNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\nSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\nOF THE POSSIBILITY OF SUCH DAMAGE.",
744748
"scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/openssl.LICENSE",
745749
"licensedb_url": "https://scancode-licensedb.aboutcode.org/openssl",
746-
"spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/openssl.LICENSE"
750+
"spdx_url": "https://spdx.org/licenses/OpenSSL-standalone"
747751
},
748752
{
749753
"key": "openssl-ssleay",
@@ -965,15 +969,18 @@
965969
"is_exception": false,
966970
"is_unknown": false,
967971
"is_generic": false,
968-
"spdx_license_key": "LicenseRef-scancode-ssleay-windows",
969-
"other_spdx_license_keys": [],
972+
"spdx_license_key": "SSLeay-standalone",
973+
"other_spdx_license_keys": [
974+
"LicenseRef-scancode-ssleay-windows"
975+
],
970976
"osi_license_key": null,
971977
"text_urls": [
972978
"http://www.openssl.org/source/license.html"
973979
],
974980
"osi_url": null,
975981
"faq_url": null,
976982
"other_urls": [
983+
"https://www.tq-group.com/filedownloads/files/software-license-conditions/OriginalSSLeay/OriginalSSLeay.pdf",
977984
"http://h71000.www7.hp.com/doc/83final/ba554_90007/apcs02.html"
978985
],
979986
"key_aliases": [],
@@ -997,7 +1004,7 @@
9971004
"text": "This package is an SSL implementation written by Eric Young ([email protected]).\nThe implementation was written so as to conform with Netscapes SSL.\n\nThis library is free for commercial and non-commercial use as long as\nthe following conditions are aheared to. The following conditions\napply to all code found in this distribution, be it the RC4, RSA,\nlhash, DES, etc., code; not just the SSL code. The SSL documentation\nincluded with this distribution is covered by the same copyright terms\nexcept that the holder is Tim Hudson ([email protected]).\n\nCopyright remains Eric Young's, and as such any Copyright notices in\nthe code are not to be removed.\nIf this package is used in a product, Eric Young should be given attribution\nas the author of the parts of the library used.\nThis can be in the form of a textual message at program startup or\nin documentation (online or textual) provided with the package.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n1. Redistributions of source code must retain the copyright\n notice, this list of conditions and the following disclaimer.\n2. Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n3. All advertising materials mentioning features or use of this software\n must display the following acknowledgement:\n \"This product includes cryptographic software written by\n Eric Young ([email protected])\"\n The word 'cryptographic' can be left out if the rouines from the library\n being used are not cryptographic related :-).\n4. If you include any Windows specific code (or a derivative thereof) from\n the apps directory (application code) you must include an acknowledgement:\n \"This product includes software written by Tim Hudson ([email protected])\"\n\nTHIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\nOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\nOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGE.\n\nThe licence and distribution terms for any publically available version or\nderivative of this code cannot be changed. i.e. this code cannot simply be\ncopied and put under another distribution licence\n[including the GNU Public Licence.]",
9981005
"scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ssleay-windows.LICENSE",
9991006
"licensedb_url": "https://scancode-licensedb.aboutcode.org/ssleay-windows",
1000-
"spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ssleay-windows.LICENSE"
1007+
"spdx_url": "https://spdx.org/licenses/SSLeay-standalone"
10011008
},
10021009
{
10031010
"key": "tcl",
@@ -1638,7 +1645,7 @@
16381645
"path": "python.LICENSE",
16391646
"type": "file",
16401647
"detected_license_expression": "python AND (other-copyleft AND gpl-1.0-plus) AND (python AND python-cwi) AND bzip2-libbzip-2010 AND sleepycat AND bsd-new AND openssl-ssleay AND openssl AND ssleay-windows AND tcl",
1641-
"detected_license_expression_spdx": "Python-2.0 AND (LicenseRef-scancode-other-copyleft AND GPL-1.0-or-later) AND (Python-2.0 AND LicenseRef-scancode-python-cwi) AND bzip2-1.0.6 AND Sleepycat AND BSD-3-Clause AND OpenSSL AND LicenseRef-scancode-openssl AND LicenseRef-scancode-ssleay-windows AND TCL",
1648+
"detected_license_expression_spdx": "Python-2.0 AND (LicenseRef-scancode-other-copyleft AND GPL-1.0-or-later) AND (Python-2.0 AND LicenseRef-scancode-python-cwi) AND bzip2-1.0.6 AND Sleepycat AND BSD-3-Clause AND OpenSSL AND OpenSSL-standalone AND SSLeay-standalone AND TCL",
16421649
"license_detections": [
16431650
{
16441651
"license_expression": "python",
@@ -2032,11 +2039,11 @@
20322039
},
20332040
{
20342041
"license_expression": "openssl",
2035-
"license_expression_spdx": "LicenseRef-scancode-openssl",
2042+
"license_expression_spdx": "OpenSSL-standalone",
20362043
"matches": [
20372044
{
20382045
"license_expression": "openssl",
2039-
"spdx_license_expression": "LicenseRef-scancode-openssl",
2046+
"spdx_license_expression": "OpenSSL-standalone",
20402047
"from_file": "python.LICENSE",
20412048
"start_line": 440,
20422049
"end_line": 487,
@@ -2056,11 +2063,11 @@
20562063
},
20572064
{
20582065
"license_expression": "ssleay-windows",
2059-
"license_expression_spdx": "LicenseRef-scancode-ssleay-windows",
2066+
"license_expression_spdx": "SSLeay-standalone",
20602067
"matches": [
20612068
{
20622069
"license_expression": "ssleay-windows",
2063-
"spdx_license_expression": "LicenseRef-scancode-ssleay-windows",
2070+
"spdx_license_expression": "SSLeay-standalone",
20642071
"from_file": "python.LICENSE",
20652072
"start_line": 497,
20662073
"end_line": 548,

tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/apache2/stable_copyright-detailed.expected.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,10 @@ other_license_expression: (apache-2.0 AND apache-2.0) AND ((apache-2.0 AND apach
3838
other_license_expression_spdx: (Apache-2.0 AND Apache-2.0) AND ((Apache-2.0 AND Apache-2.0)
3939
AND BSD-3-Clause) AND BSD-3-Clause AND ((GPL-3.0-or-later AND GPL-3.0-or-later) OR Bison-exception-2.2)
4040
AND LicenseRef-scancode-bsd-unchanged AND ((Apache-2.0 AND Apache-2.0) AND (Apache-2.0 AND
41-
Spencer-94)) AND (Apache-2.0 AND Apache-2.0) AND LicenseRef-scancode-bsd-simplified-darwin
42-
AND ((Apache-2.0 AND Apache-2.0) AND LicenseRef-scancode-public-domain) AND ((Apache-2.0 AND
43-
Apache-2.0) AND (HPND-sell-variant AND metamail)) AND ((Apache-2.0 AND Apache-2.0) AND LicenseRef-scancode-zeusbench)
44-
AND ((Apache-2.0 AND Apache-2.0) OR (GPL-2.0-or-later AND GPL-2.0-or-later)) AND MIT AND (Apache-2.0
45-
AND Apache-2.0)
41+
Spencer-94)) AND (Apache-2.0 AND Apache-2.0) AND BSD-2-Clause-Darwin AND ((Apache-2.0 AND
42+
Apache-2.0) AND LicenseRef-scancode-public-domain) AND ((Apache-2.0 AND Apache-2.0) AND (HPND-sell-variant
43+
AND metamail)) AND ((Apache-2.0 AND Apache-2.0) AND LicenseRef-scancode-zeusbench) AND ((Apache-2.0
44+
AND Apache-2.0) OR (GPL-2.0-or-later AND GPL-2.0-or-later)) AND MIT AND (Apache-2.0 AND Apache-2.0)
4645
license_detections: []
4746
other_license_detections:
4847
- license_expression: apache-2.0
@@ -358,10 +357,10 @@ other_license_detections:
358357
Mark Cox, [email protected], Allow relative URLs even when no base specified
359358
identifier: public_domain-a7ae1690-4f60-4902-e6d2-15dc3a028b4c
360359
- license_expression: bsd-simplified-darwin
361-
license_expression_spdx: LicenseRef-scancode-bsd-simplified-darwin
360+
license_expression_spdx: BSD-2-Clause-Darwin
362361
matches:
363362
- license_expression: bsd-simplified-darwin
364-
spdx_license_expression: LicenseRef-scancode-bsd-simplified-darwin
363+
spdx_license_expression: BSD-2-Clause-Darwin
365364
from_file:
366365
start_line: 279
367366
end_line: 302

tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright-detailed.expected.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ other_license_expression: gpl-2.0 WITH openssl-exception-gpl-2.0 AND gpl-2.0 WIT
2424
other_license_expression_spdx: GPL-2.0-only WITH x11vnc-openssl-exception AND GPL-2.0-only WITH
2525
x11vnc-openssl-exception AND (GPL-2.0-only AND GPL-2.0-only) AND (GPL-2.0-only AND GPL-2.0-only)
2626
AND (GPL-2.0-or-later AND GPL-2.0-or-later) AND (Zlib AND (GPL-1.0-or-later AND GPL-1.0-or-later))
27-
AND (GPL-1.0-or-later AND Zlib) AND LicenseRef-scancode-ssleay-windows AND LicenseRef-scancode-public-domain
27+
AND (GPL-1.0-or-later AND Zlib) AND SSLeay-standalone AND LicenseRef-scancode-public-domain
2828
AND BSD-3-Clause AND NTP
2929
license_detections: []
3030
other_license_detections:
3131
- license_expression: ssleay-windows
32-
license_expression_spdx: LicenseRef-scancode-ssleay-windows
32+
license_expression_spdx: SSLeay-standalone
3333
matches:
3434
- license_expression: ssleay-windows
35-
spdx_license_expression: LicenseRef-scancode-ssleay-windows
35+
spdx_license_expression: SSLeay-standalone
3636
from_file:
3737
start_line: 43
3838
end_line: 100

tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qcom-media.copyright-detailed.expected.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ declared_license_expression: qti-linux-firmware AND proprietary-license AND open
55
AND (gpl-2.0 OR bsd-new) AND (gpl-2.0 OR bsd-new) AND bsd-new AND bsd-new AND bsd-new AND
66
isc
77
declared_license_expression_spdx: LicenseRef-scancode-qti-linux-firmware AND LicenseRef-scancode-proprietary-license
8-
AND OpenSSL AND OpenSSL AND LicenseRef-scancode-openssl AND LicenseRef-scancode-ssleay-windows
9-
AND Zlib AND Zlib AND LicenseRef-scancode-public-domain AND BSD-3-Clause AND LicenseRef-scancode-gary-s-brown
10-
AND LicenseRef-scancode-other-permissive AND LicenseRef-scancode-public-domain-disclaimer
11-
AND LicenseRef-scancode-public-domain-disclaimer AND (GPL-2.0-only OR BSD-3-Clause) AND (GPL-2.0-only
8+
AND OpenSSL AND OpenSSL AND OpenSSL-standalone AND SSLeay-standalone AND Zlib AND Zlib AND
9+
LicenseRef-scancode-public-domain AND BSD-3-Clause AND LicenseRef-scancode-gary-s-brown AND
10+
LicenseRef-scancode-other-permissive AND LicenseRef-scancode-public-domain-disclaimer AND
11+
LicenseRef-scancode-public-domain-disclaimer AND (GPL-2.0-only OR BSD-3-Clause) AND (GPL-2.0-only
1212
OR BSD-3-Clause) AND BSD-3-Clause AND BSD-3-Clause AND BSD-3-Clause AND ISC
1313
other_license_expression:
1414
other_license_expression_spdx:
@@ -293,10 +293,10 @@ license_detections:
293293
matched_text: OpenSSL License
294294
identifier: openssl_ssleay-cbfdb9fc-932d-b226-10aa-6aeea27f1ff9
295295
- license_expression: openssl
296-
license_expression_spdx: LicenseRef-scancode-openssl
296+
license_expression_spdx: OpenSSL-standalone
297297
matches:
298298
- license_expression: openssl
299-
spdx_license_expression: LicenseRef-scancode-openssl
299+
spdx_license_expression: OpenSSL-standalone
300300
from_file:
301301
start_line: 252
302302
end_line: 299
@@ -358,10 +358,10 @@ license_detections:
358358
* Hudson ([email protected]).
359359
identifier: openssl-e1da0b01-fab9-e27d-4ff3-c4944b09b621
360360
- license_expression: ssleay-windows
361-
license_expression_spdx: LicenseRef-scancode-ssleay-windows
361+
license_expression_spdx: SSLeay-standalone
362362
matches:
363363
- license_expression: ssleay-windows
364-
spdx_license_expression: LicenseRef-scancode-ssleay-windows
364+
spdx_license_expression: SSLeay-standalone
365365
from_file:
366366
start_line: 309
367367
end_line: 360

0 commit comments

Comments
 (0)