From 640d37926227bd42fe2f7841a155ef56112e95b5 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Mon, 30 Oct 2023 15:19:06 +0100 Subject: [PATCH 01/11] Rename rules Signed-off-by: Philippe Ombredanne --- ...nd_other-copyleft_1.RULE => lgpl-2.0-plus_or_cc-sa-1.0_1.RULE} | 0 ...-1.1_or_gpl-1.0-plus_3.RULE => mpl-1.1_or_gpl-2.0-plus_7.RULE} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename src/licensedcode/data/rules/{lgpl-2.0-plus_and_cc-by-sa-3.0_and_other-copyleft_1.RULE => lgpl-2.0-plus_or_cc-sa-1.0_1.RULE} (100%) rename src/licensedcode/data/rules/{mpl-1.1_or_gpl-1.0-plus_3.RULE => mpl-1.1_or_gpl-2.0-plus_7.RULE} (100%) diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_cc-by-sa-3.0_and_other-copyleft_1.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_or_cc-sa-1.0_1.RULE similarity index 100% rename from src/licensedcode/data/rules/lgpl-2.0-plus_and_cc-by-sa-3.0_and_other-copyleft_1.RULE rename to src/licensedcode/data/rules/lgpl-2.0-plus_or_cc-sa-1.0_1.RULE diff --git a/src/licensedcode/data/rules/mpl-1.1_or_gpl-1.0-plus_3.RULE b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_7.RULE similarity index 100% rename from src/licensedcode/data/rules/mpl-1.1_or_gpl-1.0-plus_3.RULE rename to src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_7.RULE From f3d3c06345d49b156cdb2c0eb26eb4be407fa221 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Mon, 30 Oct 2023 15:19:38 +0100 Subject: [PATCH 02/11] Make license rules more specific Signed-off-by: Philippe Ombredanne --- .../rules/elastic-license-v2_or_mongodb-sspl-1.0_1.RULE | 4 ++-- .../rules/elastic-license-v2_or_mongodb-sspl-1.0_2.RULE | 7 ++----- .../data/rules/lgpl-2.0-plus_or_cc-sa-1.0_1.RULE | 5 +++-- src/licensedcode/data/rules/mit_or_cecill-c_1.RULE | 4 ++-- .../data/rules/mpl-1.1_or_gpl-2.0-plus_7.RULE | 8 ++++---- 5 files changed, 13 insertions(+), 15 deletions(-) diff --git a/src/licensedcode/data/rules/elastic-license-v2_or_mongodb-sspl-1.0_1.RULE b/src/licensedcode/data/rules/elastic-license-v2_or_mongodb-sspl-1.0_1.RULE index f8ecf86b33b..b45104420f0 100644 --- a/src/licensedcode/data/rules/elastic-license-v2_or_mongodb-sspl-1.0_1.RULE +++ b/src/licensedcode/data/rules/elastic-license-v2_or_mongodb-sspl-1.0_1.RULE @@ -11,6 +11,6 @@ ignorable_holders: * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the {{Elastic License}} - * 2.0 and the Server Side Public License, v 1; you may not use this file except + * 2.0 and the {{Server Side Public License, v 1}}; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. \ No newline at end of file + * Side Public License, v 1. diff --git a/src/licensedcode/data/rules/elastic-license-v2_or_mongodb-sspl-1.0_2.RULE b/src/licensedcode/data/rules/elastic-license-v2_or_mongodb-sspl-1.0_2.RULE index ca9d45a342e..9a30978e4bc 100644 --- a/src/licensedcode/data/rules/elastic-license-v2_or_mongodb-sspl-1.0_2.RULE +++ b/src/licensedcode/data/rules/elastic-license-v2_or_mongodb-sspl-1.0_2.RULE @@ -1,10 +1,7 @@ --- -license_expression: (elastic-license-v2 OR mongodb-sspl-1.0) AND apache-2.0 AND other-permissive - AND elastic-license-v2 +license_expression: (elastic-license-v2 OR mongodb-sspl-1.0) AND apache-2.0 AND elastic-license-v2 is_license_notice: yes relevance: 100 -referenced_filenames: - - licenses/ELASTIC-LICENSE-2.0.txt notes: See https://github.com/elastic/elasticsearch/commit/a92a647b9f17d1bddf5c707490a19482c273eda3 --- @@ -14,4 +11,4 @@ Side Public License, v 1 and the Elastic License 2.0 or (ii) an Apache License case, as noted in the applicable header. The default throughout the repository is a dual license under the Server Side Public License, v 1 and the Elastic License 2.0, unless the header specifies another license. Code that is licensed -solely under the Elastic License 2.0 is found only in the x-pack folder. \ No newline at end of file +solely under the Elastic License 2.0 is found only in the x-pack folder. diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_or_cc-sa-1.0_1.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_or_cc-sa-1.0_1.RULE index 9dfb0e085d9..22e9336f2bf 100644 --- a/src/licensedcode/data/rules/lgpl-2.0-plus_or_cc-sa-1.0_1.RULE +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_or_cc-sa-1.0_1.RULE @@ -1,8 +1,9 @@ --- -license_expression: lgpl-2.0-plus AND cc-by-sa-3.0 AND other-copyleft +license_expression: lgpl-2.0-plus OR cc-sa-1.0 is_license_notice: yes relevance: 100 +minimum_coverage: 100 --- licenced on the terms of (inter alia) -LGPL and Creative Commons ShareAlike. \ No newline at end of file +LGPL and Creative Commons ShareAlike. diff --git a/src/licensedcode/data/rules/mit_or_cecill-c_1.RULE b/src/licensedcode/data/rules/mit_or_cecill-c_1.RULE index 4cca2ce7465..1599dbff5b5 100644 --- a/src/licensedcode/data/rules/mit_or_cecill-c_1.RULE +++ b/src/licensedcode/data/rules/mit_or_cecill-c_1.RULE @@ -6,5 +6,5 @@ referenced_filenames: - LICENSE-CECILL-C.txt --- -available either under the terms of the MIT License (see LICENSE-MIT.txt) of the Cecill-C License (see LICENSE-CECILL-C.txt). -You as the user are entitled to choose the terms under which to adopt. \ No newline at end of file +available either under the terms of the {{MIT License}} (see LICENSE-MIT.txt) of the {{Cecill-C License}} (see LICENSE-CECILL-C.txt). +You as the user {{are entitled to choose the terms}} under which to adopt. diff --git a/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_7.RULE b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_7.RULE index 1a53e057457..1bea90e830e 100644 --- a/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_7.RULE +++ b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_7.RULE @@ -1,14 +1,14 @@ --- -license_expression: mpl-1.1 OR gpl-1.0-plus +license_expression: mpl-1.1 OR gpl-2.0-plus is_license_notice: yes --- -Alternatively, the contents of this file may be used under the terms of the -GNU General Public License Version 2 or later (the "GPL"), in which case +{{Alternatively, the contents of this file may be used under the terms of the +GNU General Public License Version 2 or later"" (the "GPL"), in which case the provisions of the GPL are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of the GPL and not to allow others to use your version of this file under the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL. If you do not delete the provisions above, a recipient may use your version -of this file under either the MPL or the GPL. \ No newline at end of file +of this file under either {{the MPL or the GPL}}. From a8f8ac9cd0b4c23ded2bae1872ccc5d9b5f8c8c4 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Mon, 30 Oct 2023 15:22:11 +0100 Subject: [PATCH 03/11] Fix roamap formatting Signed-off-by: Philippe Ombredanne --- ROADMAP.rst | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/ROADMAP.rst b/ROADMAP.rst index e97fb4674cf..ebb58ce241c 100644 --- a/ROADMAP.rst +++ b/ROADMAP.rst @@ -15,23 +15,33 @@ to distinguish the forest from the trees. Therefore reporting the primary license detection is important: when we get scan results, we can often get 30 licenses for a single a package and this volume is a problem even if it is correct and it is technically correct. + The goal of this improvement is to: -- combine multiple related license matches in a single license detection +- Combine multiple related license matches in a single license detection. -- in a license detection, expose a primary license expression in addition +- In a license detection, expose a primary license expression in addition to the complete, full license expression. - -- make the logic of selection of the primary license visible, at the minimum - with a log of combination and primary license selection operations + +- Make the logic of selection of the primary license visible, at the minimum + with a log of combination and primary license selection operations. This is for SCTK first. -Status: This has been completed in SCTK and also included in SCIO. We use +Status: + +This has been completed in SCTK and also included in SCIO. We use an updated --summary option and a new license clarity score for this. We also have LicenseDetections for resources/packages and a top level unique license detections as a summary. +Next steps: + +- We can report the declared license and other licenses in the license summary + of a full scan. The primary license is based; next is to do the + same across each package found nested in a scanned codebase. And also compute + an individual license clarity score for each these. + 2. Package files. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -71,6 +81,8 @@ This is completed in SCTK. This is the same issue as for primary license, but for holders +This has not been completed. This is less critical to complete as the tracing +is much simpler and can be done manually in the rare cases where this is needed. Roadmap @@ -128,4 +140,4 @@ Roadmap - Revamp how common list of suprrious licenses are detected (this is a bug) - Use important key phrases for license detection https://github.com/nexB/scancode-toolkit/issues/2637 -This is mostly completed, for follow up see https://github.com/nexB/scancode-toolkit/issues/2878. +This is mostly completed, for follow up see https://github.com/nexB/scancode-toolkit/issues/2878 From 0ea338f7f6ebf730cc0ecb244c56e9824fa2992b Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Tue, 31 Oct 2023 16:21:12 +0100 Subject: [PATCH 04/11] Add new (old) CC-SA-1.0 license Signed-off-by: Philippe Ombredanne --- ROADMAP-ABOUTCODE.rst | 282 ++++++++++++++++++ .../data/licenses/cc-sa-1.0.LICENSE | 75 +++++ 2 files changed, 357 insertions(+) create mode 100644 ROADMAP-ABOUTCODE.rst create mode 100644 src/licensedcode/data/licenses/cc-sa-1.0.LICENSE diff --git a/ROADMAP-ABOUTCODE.rst b/ROADMAP-ABOUTCODE.rst new file mode 100644 index 00000000000..7e7fc15a0e2 --- /dev/null +++ b/ROADMAP-ABOUTCODE.rst @@ -0,0 +1,282 @@ +AboutCode global Roadmap +======================== + +python-inspector +Support all package manifests beyond req and setup.py + +SCIO: ScanCode.io, pipelines for SCA +------------------------------------- + +Compositition analysis of Deployed binaries +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Build pipelines for key tech stacks. For each of these automate the end-to-end +analysis of a package binaries mapping it back to it sources and matching it +upstream to its PurlDB origin: + +- for Java +- for JavaScript, CSS +- for C/C++ ELFs +- for C/C++ WinPE +- for C/C++ Mach-O +- for .Net, C# +- for Golang +- for Android apk +- for Python +- for Rust +- for Ruby + + +Matching pipeline +~~~~~~~~~~~~~~~~~~ + +Build a dedicated pipeline to matching (client side) + + +Scan TODO/Review app +~~~~~~~~~~~~~~~~~~~~~ + +- Build an app in SCIO to automate flagging scan items that needs review or attention. +- Create a UI and backend to organize the scan review. +- Consider including and merging the "scantext" license detection review app + + +Pre-built container image(s) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +- Build and publish container images +- Consider building a single image for CLI deployments +- Consider publishe the app image for standalone CLI deployments + +Package management +~~~~~~~~~~~~~~~~~~~~ + +- Adopt the two levels manifests/package instances +- Refactor dependencies as deps and requirements + + +Deploy free analysis public server +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +- Consider sponsorship from Amazon/Google/Azure + +Create and document standard CI/CD integrations +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +- GitHub +- GitLab +- Azure + + +SCTK: ScanCode Toolkit +----------------------- + +License detection quality improvements +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +- Include automatic key phrases in license detection rules + Use important key phrases for license detection https://github.com/nexB/scancode-toolkit/issues/2637 + +- Add required phrase automatically + unknown detection in licenses plus testing +- More license detection bugs reported recently + +- Detect summary for all packages, and populate more package fields correctly like copyright/holders + + - We can report the declared license and other licenses in the license summary + of a full scan. The primary license is based; next is to do the + same across each package found nested in a scanned codebase. And also compute + an individual license clarity score for each these. + + +- license expression simplify and license expression category + + +Improve package detection +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +- Create synthethic, private packages from non-packaged files based on license and copyright +- Create simplified purl-only lightweight package detection +- Evolve model for dependencies towards requirements and true dependencies +- Track private non-published packages + +Primary copyright detection for packages + +- This is closely tied to the primary license detection and should focus + on package manifests and key files. +- Support copyright parsing from all package ecosystems. + + + +Published improved release packagings/bundles/installers +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +- Publish smaller wheels with a single focus for easier integration as a library + +- Release self-contained app(s) for ease of use, bundled with a Python and everything on it: + + - extractcode + - scancode proper + - packagedcode only + - licensedcode only + - cluecode only + +- Adopt Python 3.12 +- Adopt macOS and Linux on ARM + + +ABCTK: AboutCode Toolkit +---------------------------- + +- add support for patterns for docoumented resources +- add support for exclude for docoumented resources +- document deployed resource for a development resource + + +PURLDB: PurlDB +---------------- + +- purl2all: On demand indexing for all supported package ecosystems +- purl2sym: Collect source and binary symbols +- index-time matching to find the true origin +- implement multi-tier indexing: purl/metadata/archive/files +- MatchCode matching engine + + - embed a SCIO with a matching pipeline for match a whole codebase at once + - expore new endpoint for matching whole codebase + - support multiple SCIO workers for indexing + - implement proper ranking of matched code results + - refactor directory matching to be a pre-matching step to file matching + + +VCIO: VulnerableCode.io +------------------------ + +- Adopt VulnTotal model throughout +- Log advisory history +- Add vulnerable code reachability +- Add vulnerable code required context/config +- Add more upstream resources +- Deploy purlsync public pilot + + +PURL: purl and vers specs +-------------------------- + +- Merge and advertize vers spec. +- Standardize purl with ECMA + + +INSPECTORS: misc package and technology inspectors +---------------------------------------------------- + +- Universal Inspector/DependentCode + + - Resolve any purl dependencies + - Non-vulnerable dependency resolution + +- Inspector for Java and Android DEX + + - Decompile and collect binary symbols. + - Collect source symbols + - Resolve dependencies for Gradle, SBT and Maven. + +- Inspector for JavaScript, CSS + + - Decompile/deminify and collect bundled and minified symbols. + - Analyze map files + - Collect source symbols + - Resolve dependencies for npm, yarn and pnpm. + +- Inspector for C/C++ + - Collect source symbols + +- Inspector for ELFs + + - Decompile and collect binary symbols. + - Collect DWARFs and ELFs section symbols + - Resolve dependencies for pkgconfig and ldd + +- Inspector for WinPE + + - Decompile and collect binary symbols. + - Collect winpdb symbols + +- Inspector for Mach-O + + - Decompile and collect binary symbols. + - Collect DWARFs and ELFs section symbols + +- Inspector for .Net, C# + + - Decompile and collect binary symbols from assemblies (see also WinPE) + - Collect source symbols + - Resolve dependencies for nuget/dotnet (completed) + +- Inspector for Golang + + - Decompile and collect binary symbols from pclntab + - Collect source symbols + - Resolve dependencies + +- Inspector for Python + + - Decompile and collect binary symbols from bytecode + - Collect source symbols + - Resolve dependencies (completed) + +- Inspector for Rust + + - Decompile and collect binary symbols + - Collect source symbols + - Resolve dependencies + +- Inspector for Swift + + - Decompile and collect binary symbols + - Collect source symbols + - Resolve dependencies + +- Inspector for Dart/Flutter + + - Decompile and collect binary symbols + - Collect source symbols + - Resolve dependencies + +- Inspector for Ruby + + - Collect source symbols + - Resolve dependencies + +- Inspector for Debian + + - Parse Debian formats (completed) + - Parse installed database (completed) + - Compare versions (completed) + - Resolve dependencies + +- Inspector for Alpine + + - Parse Alpine formats (completed) + - Parse installed database (completed) + - Compare versions (completed) + - Resolve dependencies + +- Inspector for RPM + + - Parse RPM formats (partially completed) + - Parse installed database (completed) + - Compare versions (completed) + - Resolve dependencies + +- Inspector for containers + + - Parse container images formats and manifests (completed) + + +Other libraries +----------------- + +- FetchCode: support all supported package ecosystems, use in purlDB and SCIO +- univers: support all supported package ecosystems +- license-expression : update to support latest SPDX updates, auto-update bundled licenses + diff --git a/src/licensedcode/data/licenses/cc-sa-1.0.LICENSE b/src/licensedcode/data/licenses/cc-sa-1.0.LICENSE new file mode 100644 index 00000000000..9a25c258336 --- /dev/null +++ b/src/licensedcode/data/licenses/cc-sa-1.0.LICENSE @@ -0,0 +1,75 @@ +--- +key: cc-sa-1.0 +short_name: CC-SA-1.0 +name: Creative Commons Share Alike License 1.0 +category: Copyleft +owner: Creative Commons +homepage_url: http://creativecommons.org/licenses/sa/1.0/ +spdx_license_key: LicenseRef-scancode-cc-sa-1.0 +notes: A deprecated license from Creative Commons that predates the use of the "BY" convention in the license identifier. + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. + DISTRIBUTION OF THIS DRAFT LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. + CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. + CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND + DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE. +text_urls: + - http://creativecommons.org/licenses/sa/1.0/legalcode +other_urls: + - https://creativecommons.org/licenses/sa/1.0/legalcode +ignorable_urls: + - http://creativecommons.org/ +--- + +ShareAlike 1.0 +License + +THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE IS PROHIBITED. + +BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. + +1. Definitions + + "Collective Work" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License. + "Derivative Work" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. + "Licensor" means the individual or entity that offers the Work under the terms of this License. + "Original Author" means the individual or entity who created the Work. + "Work" means the copyrightable work of authorship offered under the terms of this License. + "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. + +2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws. + +3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: + + to reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works; + to create and reproduce Derivative Works; + to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works; + to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works; + +The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved. + +4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: + + You may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any reference to such Licensor or the Original Author, as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any reference to such Licensor or the Original Author, as requested. + You may distribute, publicly display, publicly perform, or publicly digitally perform a Derivative Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of each Derivative Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Derivative Works that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder, and You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Derivative Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Derivative Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Derivative Work itself to be made subject to the terms of this License. + +5. Representations, Warranties and Disclaimer + + By offering the Work for public release under this License, Licensor represents and warrants that, to the best of Licensor's knowledge after reasonable inquiry: + Licensor has secured all rights in the Work necessary to grant the license rights hereunder and to permit the lawful exercise of the rights granted hereunder without You having any obligation to pay any royalties, compulsory license fees, residuals or any other payments; + The Work does not infringe the copyright, trademark, publicity rights, common law rights or any other right of any third party or constitute defamation, invasion of privacy or other tortious injury to any third party. + EXCEPT AS EXPRESSLY STATED IN THIS LICENSE OR OTHERWISE AGREED IN WRITING OR REQUIRED BY APPLICABLE LAW, THE WORK IS LICENSED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES REGARDING THE CONTENTS OR ACCURACY OF THE WORK. + +6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, AND EXCEPT FOR DAMAGES ARISING FROM LIABILITY TO A THIRD PARTY RESULTING FROM BREACH OF THE WARRANTIES IN SECTION 5, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. Termination + + This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. + Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. + +8. Miscellaneous + + Each time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. + Each time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. + If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. + This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. From eb38fe2768a8a4f2a300912bced62cd643a43b3e Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Thu, 2 Nov 2023 19:05:15 +0530 Subject: [PATCH 05/11] Add CDDL-GPL license rules Signed-off-by: Ayan Sinha Mahapatra --- ...1.0_or_gpl-2.0_with_classpath-exception-2.0_10.RULE | 10 ++++++++++ ...1.0_or_gpl-2.0_with_classpath-exception-2.0_11.RULE | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 src/licensedcode/data/rules/cddl-1.0_or_gpl-2.0_with_classpath-exception-2.0_10.RULE create mode 100644 src/licensedcode/data/rules/cddl-1.0_or_gpl-2.0_with_classpath-exception-2.0_11.RULE diff --git a/src/licensedcode/data/rules/cddl-1.0_or_gpl-2.0_with_classpath-exception-2.0_10.RULE b/src/licensedcode/data/rules/cddl-1.0_or_gpl-2.0_with_classpath-exception-2.0_10.RULE new file mode 100644 index 00000000000..30fb1d196a9 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_or_gpl-2.0_with_classpath-exception-2.0_10.RULE @@ -0,0 +1,10 @@ +--- +license_expression: cddl-1.0 OR gpl-2.0 WITH classpath-exception-2.0 +is_license_tag: yes +ignorable_urls: + - https://glassfish.dev.java.net/nonav/public/CDDL+GPL.html +--- + +name: CDDL + GPLv2 with classpath exception +url: https://glassfish.dev.java.net/nonav/public/CDDL+GPL.html +comments: A business-friendly OSS license \ No newline at end of file diff --git a/src/licensedcode/data/rules/cddl-1.0_or_gpl-2.0_with_classpath-exception-2.0_11.RULE b/src/licensedcode/data/rules/cddl-1.0_or_gpl-2.0_with_classpath-exception-2.0_11.RULE new file mode 100644 index 00000000000..2b2e2e45ae9 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_or_gpl-2.0_with_classpath-exception-2.0_11.RULE @@ -0,0 +1,10 @@ +--- +license_expression: cddl-1.0 OR gpl-2.0 WITH classpath-exception-2.0 +is_license_tag: yes +ignorable_urls: + - https://github.com/javaee/javax.annotation/blob/master/LICENSE +--- + +name: CDDL + GPLv2 with classpath exception +url: https://github.com/javaee/javax.annotation/blob/master/LICENSE +comments: A business-friendly OSS license \ No newline at end of file From 47969e55ccaf26fa0436a74fbf12e7e6d3a7c960 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Thu, 2 Nov 2023 15:03:24 +0100 Subject: [PATCH 06/11] Exclude some junk copyrights Signed-off-by: Philippe Ombredanne --- src/cluecode/copyrights.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cluecode/copyrights.py b/src/cluecode/copyrights.py index 3b468e6262b..7d0187a0458 100644 --- a/src/cluecode/copyrights.py +++ b/src/cluecode/copyrights.py @@ -886,6 +886,8 @@ def build_detection_from_node( # of a copyright statement (r'^neither$', 'JUNK'), (r'^nor$', 'JUNK'), + + (r'^data-.*$', 'JUNK'), (r'^providing$', 'JUNK'), (r'^Execute$', 'JUNK'), From 7d38cce278f57b8d0560a73f48ec92873e13f10c Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Thu, 2 Nov 2023 15:04:08 +0100 Subject: [PATCH 07/11] Break long text lines in markup too. Signed-off-by: Philippe Ombredanne --- src/textcode/analysis.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/textcode/analysis.py b/src/textcode/analysis.py index 98a33b7705f..d86fd6d717f 100644 --- a/src/textcode/analysis.py +++ b/src/textcode/analysis.py @@ -118,6 +118,12 @@ def numbered_text_lines( numbered_lines = list(enumerate(markup.demarkup(location), start_line)) if TRACE: logger_debug('numbered_text_lines:', 'demarkup') + + numbered_lines = break_numbered_unicode_text_lines(numbered_lines) + + if TRACE: + logger_debug('numbered_text_lines demarkup:', 'break_numbered_unicode_text_lines') + return numbered_lines except: # try again later with as plain text From f904e681dd42b9b590d8a23a17a7c2fb8e503f52 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Thu, 2 Nov 2023 15:10:22 +0100 Subject: [PATCH 08/11] Depreacte spurrious CC0 license rule Signed-off-by: Philippe Ombredanne --- src/licensedcode/data/rules/cc0-1.0_177.RULE | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/licensedcode/data/rules/cc0-1.0_177.RULE b/src/licensedcode/data/rules/cc0-1.0_177.RULE index 27968c72017..eec5f8d3582 100644 --- a/src/licensedcode/data/rules/cc0-1.0_177.RULE +++ b/src/licensedcode/data/rules/cc0-1.0_177.RULE @@ -2,6 +2,7 @@ license_expression: cc0-1.0 is_license_reference: yes relevance: 100 +is_deprecated: yes --- -CC01 \ No newline at end of file +CC01 From 83d857c1503d2fac29362565e5c4895cb28bad12 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Thu, 2 Nov 2023 15:11:10 +0100 Subject: [PATCH 09/11] Use correct key phrase markup Signed-off-by: Philippe Ombredanne --- src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_7.RULE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_7.RULE b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_7.RULE index 1bea90e830e..7cc090902fd 100644 --- a/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_7.RULE +++ b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_7.RULE @@ -4,7 +4,7 @@ is_license_notice: yes --- {{Alternatively, the contents of this file may be used under the terms of the -GNU General Public License Version 2 or later"" (the "GPL"), in which case +GNU General Public License Version 2 or later}} (the "GPL"), in which case the provisions of the GPL are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of the GPL and not to allow others to use your version of this file From 656b19d52c97ff15d35b6bc288484f1cf16f110f Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Thu, 2 Nov 2023 19:44:34 +0100 Subject: [PATCH 10/11] Add new misc. license detection rules These are various rules to improve license detection Signed-off-by: Philippe Ombredanne --- src/licensedcode/data/rules/agpl-3.0_406.RULE | 10 +++ src/licensedcode/data/rules/agpl-3.0_407.RULE | 6 ++ ...3.0_with_linking-exception-agpl-3.0_1.RULE | 12 ++++ ...3.0_with_linking-exception-agpl-3.0_2.RULE | 17 +++++ ...tion-agpl-3.0_or_commercial-license_1.RULE | 20 ++++++ src/licensedcode/data/rules/antlr-pd_14.RULE | 40 ++++++++++++ .../data/rules/antlr-pd_or_bsd-new_1.RULE | 11 ++++ .../data/rules/antlr-pd_or_bsd-new_2.RULE | 11 ++++ .../data/rules/antlr-pd_or_bsd-new_3.RULE | 10 +++ .../data/rules/antlr-pd_or_bsd-new_4.RULE | 10 +++ .../data/rules/apache-2.0_1299.RULE | 12 ++++ .../data/rules/apache-2.0_1300.RULE | 12 ++++ .../data/rules/bsd-ack-carrot2_1.RULE | 9 +++ .../data/rules/bsd-ack-carrot2_2.RULE | 9 +++ src/licensedcode/data/rules/bsd-new_1324.RULE | 7 +++ .../data/rules/bsd-simplified_336.RULE | 8 +++ src/licensedcode/data/rules/bsla_9.RULE | 7 +++ src/licensedcode/data/rules/cc0-1.0_206.RULE | 14 +++++ .../rules/cc0-1.0_or_bsd-simplified_2.RULE | 58 +++++++++++++++++ .../rules/cddl-1.0_or_lgpl-2.1-plus_6.RULE | 8 +++ src/licensedcode/data/rules/cpl-1.0_40.RULE | 9 +++ src/licensedcode/data/rules/cpl-1.0_41.RULE | 10 +++ src/licensedcode/data/rules/cpl-1.0_42.RULE | 9 +++ src/licensedcode/data/rules/cpl-1.0_43.RULE | 9 +++ .../data/rules/false-positive_738.RULE | 8 +++ .../data/rules/false-positive_739.RULE | 6 ++ src/licensedcode/data/rules/flex-2.5_12.RULE | 23 +++++++ .../data/rules/generic-cla_33.RULE | 6 ++ ...l-2.0_with_classpath-exception-2.0_60.RULE | 9 +++ src/licensedcode/data/rules/gpl-3.0_574.RULE | 7 +++ .../rules/lgpl-2.0-plus_or_cc-sa-1.0_2.RULE | 10 +++ src/licensedcode/data/rules/lgpl-2.1_454.RULE | 9 +++ src/licensedcode/data/rules/lgpl-2.1_455.RULE | 11 ++++ src/licensedcode/data/rules/lgpl-2.1_456.RULE | 10 +++ src/licensedcode/data/rules/lgpl-2.1_457.RULE | 9 +++ .../data/rules/lgpl-2.1_or_apache-2.0_3.RULE | 7 +++ .../data/rules/lgpl-2.1_or_apache-2.0_4.RULE | 7 +++ .../data/rules/lgpl-2.1_or_apache-2.0_5.RULE | 7 +++ .../data/rules/lgpl-2.1_or_apache-2.0_6.RULE | 7 +++ .../data/rules/lgpl-2.1_or_apache-2.0_7.RULE | 22 +++++++ .../data/rules/lgpl-2.1_or_apache-2.0_8.RULE | 20 ++++++ .../data/rules/lgpl-2.1_or_apache-2.0_9.RULE | 16 +++++ .../data/rules/lgpl-2.1_or_mpl-1.1_4.RULE | 37 +++++++++++ .../data/rules/lgpl-2.1_or_mpl-1.1_5.RULE | 42 +++++++++++++ .../data/rules/license-intro_75.RULE | 8 +++ .../data/rules/license-intro_76.RULE | 13 ++++ .../data/rules/license-intro_77.RULE | 10 +++ .../data/rules/license-intro_78.RULE | 62 +++++++++++++++++++ .../rules/linking-exception-agpl-3.0_1.RULE | 11 ++++ .../rules/linking-exception-agpl-3.0_2.RULE | 11 ++++ .../data/rules/proprietary-license_955.RULE | 25 ++++++++ .../data/rules/proprietary-license_956.RULE | 8 +++ .../data/rules/proprietary-license_957.RULE | 9 +++ .../proprietary-license_and_apache-2.0_3.RULE | 7 +++ .../data/rules/public-domain_524.RULE | 7 +++ src/licensedcode/data/rules/python_100.RULE | 13 ++++ src/licensedcode/data/rules/python_99.RULE | 13 ++++ .../data/rules/sun-prop-non-commercial_1.RULE | 18 ++++++ .../data/rules/unicode-mappings_3.RULE | 10 +++ .../rules/unknown-license-reference_401.RULE | 9 +++ .../rules/unknown-license-reference_402.RULE | 9 +++ .../rules/unknown-license-reference_403.RULE | 9 +++ .../rules/unknown-license-reference_404.RULE | 9 +++ .../rules/unknown-license-reference_405.RULE | 9 +++ .../rules/unknown-license-reference_406.RULE | 9 +++ .../rules/unknown-license-reference_407.RULE | 9 +++ .../data/rules/warranty-disclaimer_93.RULE | 8 +++ src/licensedcode/data/rules/x11_22.RULE | 12 ++++ 68 files changed, 909 insertions(+) create mode 100644 src/licensedcode/data/rules/agpl-3.0_406.RULE create mode 100644 src/licensedcode/data/rules/agpl-3.0_407.RULE create mode 100644 src/licensedcode/data/rules/agpl-3.0_with_linking-exception-agpl-3.0_1.RULE create mode 100644 src/licensedcode/data/rules/agpl-3.0_with_linking-exception-agpl-3.0_2.RULE create mode 100644 src/licensedcode/data/rules/agpl-3.0_with_linking-exception-agpl-3.0_or_commercial-license_1.RULE create mode 100644 src/licensedcode/data/rules/antlr-pd_14.RULE create mode 100644 src/licensedcode/data/rules/antlr-pd_or_bsd-new_1.RULE create mode 100644 src/licensedcode/data/rules/antlr-pd_or_bsd-new_2.RULE create mode 100644 src/licensedcode/data/rules/antlr-pd_or_bsd-new_3.RULE create mode 100644 src/licensedcode/data/rules/antlr-pd_or_bsd-new_4.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_1299.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_1300.RULE create mode 100644 src/licensedcode/data/rules/bsd-ack-carrot2_1.RULE create mode 100644 src/licensedcode/data/rules/bsd-ack-carrot2_2.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1324.RULE create mode 100644 src/licensedcode/data/rules/bsd-simplified_336.RULE create mode 100644 src/licensedcode/data/rules/bsla_9.RULE create mode 100644 src/licensedcode/data/rules/cc0-1.0_206.RULE create mode 100644 src/licensedcode/data/rules/cc0-1.0_or_bsd-simplified_2.RULE create mode 100644 src/licensedcode/data/rules/cddl-1.0_or_lgpl-2.1-plus_6.RULE create mode 100644 src/licensedcode/data/rules/cpl-1.0_40.RULE create mode 100644 src/licensedcode/data/rules/cpl-1.0_41.RULE create mode 100644 src/licensedcode/data/rules/cpl-1.0_42.RULE create mode 100644 src/licensedcode/data/rules/cpl-1.0_43.RULE create mode 100644 src/licensedcode/data/rules/false-positive_738.RULE create mode 100644 src/licensedcode/data/rules/false-positive_739.RULE create mode 100644 src/licensedcode/data/rules/flex-2.5_12.RULE create mode 100644 src/licensedcode/data/rules/generic-cla_33.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_with_classpath-exception-2.0_60.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0_574.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_or_cc-sa-1.0_2.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_454.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_455.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_456.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_457.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_3.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_4.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_5.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_6.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_7.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_8.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_9.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_or_mpl-1.1_4.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_or_mpl-1.1_5.RULE create mode 100644 src/licensedcode/data/rules/license-intro_75.RULE create mode 100644 src/licensedcode/data/rules/license-intro_76.RULE create mode 100644 src/licensedcode/data/rules/license-intro_77.RULE create mode 100644 src/licensedcode/data/rules/license-intro_78.RULE create mode 100644 src/licensedcode/data/rules/linking-exception-agpl-3.0_1.RULE create mode 100644 src/licensedcode/data/rules/linking-exception-agpl-3.0_2.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_955.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_956.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_957.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_and_apache-2.0_3.RULE create mode 100644 src/licensedcode/data/rules/public-domain_524.RULE create mode 100644 src/licensedcode/data/rules/python_100.RULE create mode 100644 src/licensedcode/data/rules/python_99.RULE create mode 100644 src/licensedcode/data/rules/sun-prop-non-commercial_1.RULE create mode 100644 src/licensedcode/data/rules/unicode-mappings_3.RULE create mode 100644 src/licensedcode/data/rules/unknown-license-reference_401.RULE create mode 100644 src/licensedcode/data/rules/unknown-license-reference_402.RULE create mode 100644 src/licensedcode/data/rules/unknown-license-reference_403.RULE create mode 100644 src/licensedcode/data/rules/unknown-license-reference_404.RULE create mode 100644 src/licensedcode/data/rules/unknown-license-reference_405.RULE create mode 100644 src/licensedcode/data/rules/unknown-license-reference_406.RULE create mode 100644 src/licensedcode/data/rules/unknown-license-reference_407.RULE create mode 100644 src/licensedcode/data/rules/warranty-disclaimer_93.RULE create mode 100644 src/licensedcode/data/rules/x11_22.RULE diff --git a/src/licensedcode/data/rules/agpl-3.0_406.RULE b/src/licensedcode/data/rules/agpl-3.0_406.RULE new file mode 100644 index 00000000000..43e569baf3b --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_406.RULE @@ -0,0 +1,10 @@ +--- +license_expression: agpl-3.0 +is_license_notice: yes +--- + +* This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License version 3. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0_407.RULE b/src/licensedcode/data/rules/agpl-3.0_407.RULE new file mode 100644 index 00000000000..cdcd8bafee7 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_407.RULE @@ -0,0 +1,6 @@ +--- +license_expression: agpl-3.0 +is_license_notice: yes +--- + +* Content outside of the above mentioned directories or restrictions above is available under the "AGPLv3" license as defined below. \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0_with_linking-exception-agpl-3.0_1.RULE b/src/licensedcode/data/rules/agpl-3.0_with_linking-exception-agpl-3.0_1.RULE new file mode 100644 index 00000000000..4a9e9409d7b --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_with_linking-exception-agpl-3.0_1.RULE @@ -0,0 +1,12 @@ +--- +license_expression: agpl-3.0 WITH linking-exception-agpl-3.0 +is_license_notice: yes +notes: https://github.com/FellowTraveler/Open-Transactions/blob/3c4908be5d4abf110f5c2fdaa1db4678bdd84644/docs/LICENSE-AND-CREDITS.txt#L1341 +--- + +ADDITIONAL PERMISSION under the GNU Affero GPL version 3 section 7: + * This paragraph applies only to the LAGPLv3 components listed above. + * If you modify this Program, or any covered work, by linking or + * combining it with other code, such other code is not for that reason + * alone subject to any of the requirements of the GNU Affero GPL + * version 3. \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0_with_linking-exception-agpl-3.0_2.RULE b/src/licensedcode/data/rules/agpl-3.0_with_linking-exception-agpl-3.0_2.RULE new file mode 100644 index 00000000000..a46f4afc3fa --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_with_linking-exception-agpl-3.0_2.RULE @@ -0,0 +1,17 @@ +--- +license_expression: agpl-3.0 WITH linking-exception-agpl-3.0 +is_license_notice: yes +--- + +* This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License version 3. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. + * + * Additionally, the following linking exception is granted: + * + * If you modify this Program, or any covered work, by linking or + * combining it with other code, such other code is not for that reason + * alone subject to any of the requirements of the GNU Affero GPL + * version 3. \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0_with_linking-exception-agpl-3.0_or_commercial-license_1.RULE b/src/licensedcode/data/rules/agpl-3.0_with_linking-exception-agpl-3.0_or_commercial-license_1.RULE new file mode 100644 index 00000000000..92b0aa77ffc --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_with_linking-exception-agpl-3.0_or_commercial-license_1.RULE @@ -0,0 +1,20 @@ +--- +license_expression: agpl-3.0 WITH linking-exception-agpl-3.0 OR commercial-license +is_license_notice: yes +--- + +* This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License version 3. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. + * + * Additionally, the following linking exception is granted: + * + * If you modify this Program, or any covered work, by linking or + * combining it with other code, such other code is not for that reason + * alone subject to any of the requirements of the GNU Affero GPL + * version 3. + * + * You can be released from the requirements of the license by purchasing + * a commercial license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/antlr-pd_14.RULE b/src/licensedcode/data/rules/antlr-pd_14.RULE new file mode 100644 index 00000000000..7a5f40b9f65 --- /dev/null +++ b/src/licensedcode/data/rules/antlr-pd_14.RULE @@ -0,0 +1,40 @@ +--- +license_expression: antlr-pd +is_license_text: yes +ignorable_authors: + - Terence Parr +ignorable_emails: + - parrt@antlr.org + - parrt@cs.usfca.edu +--- + +SOFTWARE RIGHTS + +ANTLR 1989-2004 Developed by Terence Parr +Partially supported by University of San Francisco & jGuru.com + +We reserve no legal rights to the ANTLR--it is fully in the +public domain. An individual or company may do whatever +they wish with source code distributed with ANTLR or the +code generated by ANTLR, including the incorporation of +ANTLR, or its output, into commerical software. + +We encourage users to develop software with ANTLR. However, +we do ask that credit is given to us for developing +ANTLR. By "credit", we mean that if you use ANTLR or +incorporate any source code into one of your programs +(commercial product, research project, or otherwise) that +you acknowledge this fact somewhere in the documentation, +research report, etc... If you like ANTLR and have +developed a nice tool with the output, please mention that +you developed it using ANTLR. In addition, we ask that the +headers remain intact in our source code. As long as these +guidelines are kept, we expect to continue enhancing this +system and expect to make other tools available as they are +completed. + +The primary ANTLR guy: + +Terence Parr +parrt@cs.usfca.edu +parrt@antlr.org \ No newline at end of file diff --git a/src/licensedcode/data/rules/antlr-pd_or_bsd-new_1.RULE b/src/licensedcode/data/rules/antlr-pd_or_bsd-new_1.RULE new file mode 100644 index 00000000000..509802a0f72 --- /dev/null +++ b/src/licensedcode/data/rules/antlr-pd_or_bsd-new_1.RULE @@ -0,0 +1,11 @@ +--- +license_expression: antlr-pd OR bsd-new +is_license_notice: yes +relevance: 99 +referenced_filenames: + - LICENSE.txt +notes: the license varies based on the ANTLR version +--- + +This file is part of ANTLR. See LICENSE.txt for licence + details. \ No newline at end of file diff --git a/src/licensedcode/data/rules/antlr-pd_or_bsd-new_2.RULE b/src/licensedcode/data/rules/antlr-pd_or_bsd-new_2.RULE new file mode 100644 index 00000000000..6b635fa0075 --- /dev/null +++ b/src/licensedcode/data/rules/antlr-pd_or_bsd-new_2.RULE @@ -0,0 +1,11 @@ +--- +license_expression: antlr-pd OR bsd-new +is_license_notice: yes +relevance: 99 +referenced_filenames: + - LICENSE.txt +notes: the license varies based on the ANTLR version +--- + +## This file is part of ANTLR. See LICENSE.txt for license ## +## details. \ No newline at end of file diff --git a/src/licensedcode/data/rules/antlr-pd_or_bsd-new_3.RULE b/src/licensedcode/data/rules/antlr-pd_or_bsd-new_3.RULE new file mode 100644 index 00000000000..9eb819ec46b --- /dev/null +++ b/src/licensedcode/data/rules/antlr-pd_or_bsd-new_3.RULE @@ -0,0 +1,10 @@ +--- +license_expression: antlr-pd OR bsd-new +is_license_notice: yes +relevance: 99 +referenced_filenames: + - LICENSE.txt +notes: the license varies based on the ANTLR version +--- + +This file is part of PyANTLR. See LICENSE.txt for license details. . \ No newline at end of file diff --git a/src/licensedcode/data/rules/antlr-pd_or_bsd-new_4.RULE b/src/licensedcode/data/rules/antlr-pd_or_bsd-new_4.RULE new file mode 100644 index 00000000000..815144d33cd --- /dev/null +++ b/src/licensedcode/data/rules/antlr-pd_or_bsd-new_4.RULE @@ -0,0 +1,10 @@ +--- +license_expression: antlr-pd OR bsd-new +is_license_notice: yes +relevance: 99 +referenced_filenames: + - LICENSE.txt +notes: the license varies based on the ANTLR version +--- + +This file is part of PyANTLR. See LICENSE.txt for licence details. . \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_1299.RULE b/src/licensedcode/data/rules/apache-2.0_1299.RULE new file mode 100644 index 00000000000..0285467096a --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_1299.RULE @@ -0,0 +1,12 @@ +--- +license_expression: apache-2.0 +is_license_notice: yes +referenced_filenames: + - LICENSE +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0 +--- + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at: + +http://www.apache.org/licenses/LICENSE-2.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_1300.RULE b/src/licensedcode/data/rules/apache-2.0_1300.RULE new file mode 100644 index 00000000000..d1803f3bc1a --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_1300.RULE @@ -0,0 +1,12 @@ +--- +license_expression: apache-2.0 +is_license_notice: yes +referenced_filenames: + - LICENSE +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0 +--- + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the [LICENSE](LICENSE) file, or at: + +[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-ack-carrot2_1.RULE b/src/licensedcode/data/rules/bsd-ack-carrot2_1.RULE new file mode 100644 index 00000000000..1172f6de7c6 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-ack-carrot2_1.RULE @@ -0,0 +1,9 @@ +--- +license_expression: bsd-ack-carrot2 +is_license_reference: yes +relevance: 100 +ignorable_urls: + - http://project.carrot2.org/license.html +--- + +See http://project.carrot2.org/license.html \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-ack-carrot2_2.RULE b/src/licensedcode/data/rules/bsd-ack-carrot2_2.RULE new file mode 100644 index 00000000000..c444166fef2 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-ack-carrot2_2.RULE @@ -0,0 +1,9 @@ +--- +license_expression: bsd-ack-carrot2 +is_license_reference: yes +relevance: 100 +ignorable_urls: + - http://project.carrot2.org/license.html +--- + +http://project.carrot2.org/license.html \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1324.RULE b/src/licensedcode/data/rules/bsd-new_1324.RULE new file mode 100644 index 00000000000..dadacf8f43d --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1324.RULE @@ -0,0 +1,7 @@ +--- +license_expression: bsd-new +is_license_notice: yes +relevance: 99 +--- + +{{BSD-licensed}} dictionary \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-simplified_336.RULE b/src/licensedcode/data/rules/bsd-simplified_336.RULE new file mode 100644 index 00000000000..6b56a3db2fa --- /dev/null +++ b/src/licensedcode/data/rules/bsd-simplified_336.RULE @@ -0,0 +1,8 @@ +--- +license_expression: bsd-simplified +is_license_notice: yes +is_continuous: yes +relevance: 100 +--- + +{{BSD-licensed dictionary of Polish}} \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsla_9.RULE b/src/licensedcode/data/rules/bsla_9.RULE new file mode 100644 index 00000000000..3db01414384 --- /dev/null +++ b/src/licensedcode/data/rules/bsla_9.RULE @@ -0,0 +1,7 @@ +--- +license_expression: bsla +is_license_text: yes +--- + +Redistribution and use in source and binary forms are permitted provided that the +above copyright notice and this paragraph are duplicated in all such forms and that any documentation, advertising materials, and other materials related to such distribution and use acknowledge that the software was developed by the . The name of the may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc0-1.0_206.RULE b/src/licensedcode/data/rules/cc0-1.0_206.RULE new file mode 100644 index 00000000000..8ec254de4b8 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_206.RULE @@ -0,0 +1,14 @@ +--- +license_expression: cc0-1.0 +is_license_notice: yes +ignorable_urls: + - http://creativecommons.org/publicdomain/zero/1.0 +--- + +Licensed under CC0-1.0. + +To the extent possible under law, the person who associated CC0-1.0 with OSLOC +has waived all copyright and related or neighboring rights to OSLOC. + +For the original license text see +http://creativecommons.org/publicdomain/zero/1.0/. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc0-1.0_or_bsd-simplified_2.RULE b/src/licensedcode/data/rules/cc0-1.0_or_bsd-simplified_2.RULE new file mode 100644 index 00000000000..40d3ec53adb --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_or_bsd-simplified_2.RULE @@ -0,0 +1,58 @@ +--- +license_expression: cc0-1.0 OR bsd-simplified +is_license_notice: yes +minimum_coverage: 98 +ignorable_copyrights: + - Copyright (c) 2012, 2013, 2014 Gil Tene + - Copyright (c) 2014 Matt Warren + - Copyright (c) 2014 Michael Barker +ignorable_holders: + - Gil Tene + - Matt Warren + - Michael Barker +ignorable_authors: + - Gil Tene, Michael Barker, and Matt Warren +ignorable_urls: + - http://creativecommons.org/publicdomain/zero/1.0/ +--- + +The code in this repository code was Written by Gil Tene, Michael Barker, +and Matt Warren, and released to the public domain, as explained at +http://creativecommons.org/publicdomain/zero/1.0/ + +For users of this code who wish to consume it under the "BSD" license +rather than under the public domain or CC0 contribution text mentioned +above, the code found under this directory is *also* provided under the +following license (commonly referred to as the BSD 2-Clause License). This +license does not detract from the above stated release of the code into +the public domain, and simply represents an additional license granted by +the Author. + +** Beginning of "BSD 2-Clause License" text. ** + + Copyright (c) 2012, 2013, 2014 Gil Tene + Copyright (c) 2014 Michael Barker + Copyright (c) 2014 Matt Warren + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF + THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cddl-1.0_or_lgpl-2.1-plus_6.RULE b/src/licensedcode/data/rules/cddl-1.0_or_lgpl-2.1-plus_6.RULE new file mode 100644 index 00000000000..c011cd7dde5 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_or_lgpl-2.1-plus_6.RULE @@ -0,0 +1,8 @@ +--- +license_expression: cddl-1.0 OR lgpl-2.1-plus +is_license_notice: yes +--- + +* Distributed under the terms of either: + * - the common development and distribution license (CDDL), v1.0; or + * - the GNU Lesser General Public License, v2.1 or later \ No newline at end of file diff --git a/src/licensedcode/data/rules/cpl-1.0_40.RULE b/src/licensedcode/data/rules/cpl-1.0_40.RULE new file mode 100644 index 00000000000..52cdc771a2a --- /dev/null +++ b/src/licensedcode/data/rules/cpl-1.0_40.RULE @@ -0,0 +1,9 @@ +--- +license_expression: cpl-1.0 +is_license_notice: yes +ignorable_urls: + - http://junit.sourceforge.net/cpl-v10.html +--- + +is licensed under the Common Public License v. 1.0 +See http://junit.sourceforge.net/cpl-v10.html \ No newline at end of file diff --git a/src/licensedcode/data/rules/cpl-1.0_41.RULE b/src/licensedcode/data/rules/cpl-1.0_41.RULE new file mode 100644 index 00000000000..8fe416b1c72 --- /dev/null +++ b/src/licensedcode/data/rules/cpl-1.0_41.RULE @@ -0,0 +1,10 @@ +--- +license_expression: cpl-1.0 +is_license_notice: yes +relevance: 100 +ignorable_urls: + - http://junit.sourceforge.net/cpl-v10.html +--- + +licensed under the Common Public License v. 1.0 +See http://junit.sourceforge.net/cpl-v10.html \ No newline at end of file diff --git a/src/licensedcode/data/rules/cpl-1.0_42.RULE b/src/licensedcode/data/rules/cpl-1.0_42.RULE new file mode 100644 index 00000000000..96a18ed02a2 --- /dev/null +++ b/src/licensedcode/data/rules/cpl-1.0_42.RULE @@ -0,0 +1,9 @@ +--- +license_expression: cpl-1.0 +is_license_reference: yes +relevance: 100 +ignorable_urls: + - http://junit.sourceforge.net/cpl-v10.html +--- + +See http://junit.sourceforge.net/cpl-v10.html \ No newline at end of file diff --git a/src/licensedcode/data/rules/cpl-1.0_43.RULE b/src/licensedcode/data/rules/cpl-1.0_43.RULE new file mode 100644 index 00000000000..b3f361065a4 --- /dev/null +++ b/src/licensedcode/data/rules/cpl-1.0_43.RULE @@ -0,0 +1,9 @@ +--- +license_expression: cpl-1.0 +is_license_reference: yes +relevance: 100 +ignorable_urls: + - http://junit.sourceforge.net/cpl-v10.html +--- + +http://junit.sourceforge.net/cpl-v10.html \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_738.RULE b/src/licensedcode/data/rules/false-positive_738.RULE new file mode 100644 index 00000000000..40291f7f16a --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_738.RULE @@ -0,0 +1,8 @@ +--- +is_false_positive: yes +notes: see https://github.com/dotnet/dotnet/blob/6d552276bb3a619740e2402e829da49ff25deba6/src/arcade/src/Microsoft.DotNet.Build.Tasks.Installers/src/BuildFPMToolPreReqs.cs#L4 + and https://github.com/dotnet/installer/blob/ad71a5a747a56e400e70e7291623362e99dfbc21/src/SourceBuild/content/test/Microsoft.DotNet.SourceBuild.SmokeTests/assets/LicenseExclusions.txt#L17 +--- + +removal --JSON +--license : the \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_739.RULE b/src/licensedcode/data/rules/false-positive_739.RULE new file mode 100644 index 00000000000..9d9b8faa11d --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_739.RULE @@ -0,0 +1,6 @@ +--- +is_false_positive: yes +notes: Note a license +--- + +Use at your own risk - disabling module \ No newline at end of file diff --git a/src/licensedcode/data/rules/flex-2.5_12.RULE b/src/licensedcode/data/rules/flex-2.5_12.RULE new file mode 100644 index 00000000000..da8798a3139 --- /dev/null +++ b/src/licensedcode/data/rules/flex-2.5_12.RULE @@ -0,0 +1,23 @@ +--- +license_expression: flex-2.5 +is_license_text: yes +notes: an odd historical license seen in 4.3 BSD Reno The 4.4BSD was released in 1992 and again + in 1994 See https://en.wikipedia.org/wiki/History_of_the_Berkeley_Software_Distribution#4.4BSD_and_descendants +ignorable_authors: + - the University of California, Berkeley and its contributors +--- + +* Redistribution is only permitted until one year after the first shipment + * of 4.4BSD by the Regents. Otherwise, redistribution and use in source and + * binary forms are permitted provided that: (1) source distributions retain + * this entire copyright notice and comment, and (2) distributions including + * binaries display the following acknowledgement: This product includes + * software developed by the University of California, Berkeley and its + * contributors'' in the documentation or other materials provided with the + * distribution and in all advertising materials mentioning features or use + * of this software. Neither the name of the University nor the names of + * its contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/generic-cla_33.RULE b/src/licensedcode/data/rules/generic-cla_33.RULE new file mode 100644 index 00000000000..c35998123fc --- /dev/null +++ b/src/licensedcode/data/rules/generic-cla_33.RULE @@ -0,0 +1,6 @@ +--- +license_expression: generic-cla +is_license_text: yes +--- + +By contributing you agree that these contributions are your own (or approved by your employer) and you grant a full, complete, irrevocable copyright license to all users and developers of the project, present and future, pursuant to the license of the project. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_with_classpath-exception-2.0_60.RULE b/src/licensedcode/data/rules/gpl-2.0_with_classpath-exception-2.0_60.RULE new file mode 100644 index 00000000000..98f0799a167 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_with_classpath-exception-2.0_60.RULE @@ -0,0 +1,9 @@ +--- +license_expression: gpl-2.0 WITH classpath-exception-2.0 +is_license_notice: yes +minimum_coverage: 90 +--- + +OpenJDK is licensed under the {{GPLv2+CE}}. A copy of that license is included in +this distribution immediately below this notice. You can find a copy of the +OpenJDK source through the downloads page at \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_574.RULE b/src/licensedcode/data/rules/gpl-3.0_574.RULE new file mode 100644 index 00000000000..8e51f906853 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_574.RULE @@ -0,0 +1,7 @@ +--- +license_expression: gpl-3.0 +is_license_notice: yes +relevance: 100 +--- + +This software is licensed under GPL-3.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_or_cc-sa-1.0_2.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_or_cc-sa-1.0_2.RULE new file mode 100644 index 00000000000..4318041e1e2 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_or_cc-sa-1.0_2.RULE @@ -0,0 +1,10 @@ +--- +license_expression: lgpl-2.0-plus OR cc-sa-1.0 +is_license_notice: yes +notes: Seen in ElasticSearch +--- + +is licenced on the terms of (inter alia) {{LGPL and Creative Commons +ShareAlike.}} + +licenced on the terms of (inter alia) {{LGPL and Creative Commons ShareAlike.}} \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_454.RULE b/src/licensedcode/data/rules/lgpl-2.1_454.RULE new file mode 100644 index 00000000000..31a742a5714 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_454.RULE @@ -0,0 +1,9 @@ +--- +license_expression: lgpl-2.1 +is_license_tag: yes +ignorable_urls: + - http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt +--- + +name: GNU Lesser General Public License +url: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_455.RULE b/src/licensedcode/data/rules/lgpl-2.1_455.RULE new file mode 100644 index 00000000000..e5a0ace6120 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_455.RULE @@ -0,0 +1,11 @@ +--- +license_expression: lgpl-2.1 +is_license_tag: yes +ignorable_urls: + - http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt +--- + + + + GNU Lesser General Public License + http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_456.RULE b/src/licensedcode/data/rules/lgpl-2.1_456.RULE new file mode 100644 index 00000000000..e6753d5a3aa --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_456.RULE @@ -0,0 +1,10 @@ +--- +license_expression: lgpl-2.1 +is_license_tag: yes +ignorable_urls: + - http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt +--- + + + GNU Lesser General Public License + http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_457.RULE b/src/licensedcode/data/rules/lgpl-2.1_457.RULE new file mode 100644 index 00000000000..e9fe84f4529 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_457.RULE @@ -0,0 +1,9 @@ +--- +license_expression: lgpl-2.1 +is_license_tag: yes +ignorable_urls: + - http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt +--- + +GNU Lesser General Public License + http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_3.RULE b/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_3.RULE new file mode 100644 index 00000000000..79203780fb9 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_3.RULE @@ -0,0 +1,7 @@ +--- +license_expression: lgpl-2.1 OR apache-2.0 +is_license_notice: yes +relevance: 100 +--- + +dual licensed under LGPL V2.1 or Apache Software License, Version 2.0. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_4.RULE b/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_4.RULE new file mode 100644 index 00000000000..e4ea12eb5e0 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_4.RULE @@ -0,0 +1,7 @@ +--- +license_expression: lgpl-2.1 OR apache-2.0 +is_license_notice: yes +relevance: 100 +--- + +Dual licensed under GNU LGPL 2.1 or Apache License 2.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_5.RULE b/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_5.RULE new file mode 100644 index 00000000000..35ec0e868b2 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_5.RULE @@ -0,0 +1,7 @@ +--- +license_expression: lgpl-2.1 OR apache-2.0 +is_license_notice: yes +relevance: 100 +--- + +dual_lgpl_ap2=Dual License GNU LGPL 2.1 or Apache License 2.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_6.RULE b/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_6.RULE new file mode 100644 index 00000000000..70d5acb6efc --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_6.RULE @@ -0,0 +1,7 @@ +--- +license_expression: lgpl-2.1 OR apache-2.0 +is_license_notice: yes +relevance: 100 +--- + +Dual License GNU LGPL 2.1 or Apache License 2.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_7.RULE b/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_7.RULE new file mode 100644 index 00000000000..599809c6577 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_7.RULE @@ -0,0 +1,22 @@ +--- +license_expression: lgpl-2.1 OR apache-2.0 +is_license_notice: yes +relevance: 90 +notes: seen in jsql +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0.txt + - http://www.gnu.org/licenses/lgpl-2.1.html +--- + + + + GNU Library or Lesser General Public License (LGPL) V2.1 + http://www.gnu.org/licenses/lgpl-2.1.html + repo + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_8.RULE b/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_8.RULE new file mode 100644 index 00000000000..e4f0693ad2b --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_8.RULE @@ -0,0 +1,20 @@ +--- +license_expression: lgpl-2.1 OR apache-2.0 +is_license_notice: yes +relevance: 90 +notes: seen in jsql +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0.txt + - http://www.gnu.org/licenses/lgpl-2.1.html +--- + + + GNU Library or Lesser General Public License (LGPL) V2.1 + http://www.gnu.org/licenses/lgpl-2.1.html + repo + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_9.RULE b/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_9.RULE new file mode 100644 index 00000000000..6719e9a0fd5 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_or_apache-2.0_9.RULE @@ -0,0 +1,16 @@ +--- +license_expression: lgpl-2.1 OR apache-2.0 +is_license_notice: yes +relevance: 90 +notes: seen in jsql +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0.txt + - http://www.gnu.org/licenses/lgpl-2.1.html +--- + + + GNU Library or Lesser General Public License (LGPL) V2.1 + http://www.gnu.org/licenses/lgpl-2.1.html + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_or_mpl-1.1_4.RULE b/src/licensedcode/data/rules/lgpl-2.1_or_mpl-1.1_4.RULE new file mode 100644 index 00000000000..d1fbc85ba70 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_or_mpl-1.1_4.RULE @@ -0,0 +1,37 @@ +--- +license_expression: lgpl-2.1 OR mpl-1.1 +is_license_notice: yes +referenced_filenames: + - COPYING-LGPL-2.1 + - COPYING-MPL-1.1 +notes: https://github.com/nexB/scancode-toolkit/issues/3523 +ignorable_urls: + - http://www.mozilla.org/MPL/ +--- + +This library is free software; you can redistribute it and/or +modify it either under the terms of the GNU Lesser General Public +License version 2.1 as published by the Free Software Foundation +(the "LGPL") or, at your option, under the terms of the Mozilla +Public License Version 1.1 (the "MPL"). If you do not alter this +notice, a recipient may use your version of this file under either +the MPL or the LGPL. + +You should have received a copy of the LGPL along with this library +in the file COPYING-LGPL-2.1; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA +You should have received a copy of the MPL along with this library +in the file COPYING-MPL-1.1 + +The contents of this file are subject to the Mozilla Public License +Version 1.1 (the "License"); you may not use this file except in +compliance with the License. You may obtain a copy of the License at +http://www.mozilla.org/MPL/ + +This software is distributed on an "AS IS" basis, WITHOUT WARRANTY +OF ANY KIND, either express or implied. See the LGPL or the MPL for +the specific language governing rights and limitations. + +The Original Code is the cairo graphics library. + +The Initial Developer of the Original Code is \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_or_mpl-1.1_5.RULE b/src/licensedcode/data/rules/lgpl-2.1_or_mpl-1.1_5.RULE new file mode 100644 index 00000000000..83874a401c7 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_or_mpl-1.1_5.RULE @@ -0,0 +1,42 @@ +--- +license_expression: lgpl-2.1 OR mpl-1.1 +is_license_notice: yes +referenced_filenames: + - COPYING-LGPL-2.1 + - COPYING-MPL-1.1 +notes: https://github.com/nexB/scancode-toolkit/issues/3523 +--- + +Cairo is free software. + +Every source file in the implementation[*] of cairo is available to be +redistributed and/or modified under the terms of either the GNU Lesser +General Public License (LGPL) version 2.1 or the Mozilla Public +License (MPL) version 1.1. Some files are available under more +liberal terms, but we believe that in all cases, each file may be used +under either the LGPL or the MPL. + +See the following files in this directory for the precise terms and +conditions of either license: + + COPYING-LGPL-2.1 + COPYING-MPL-1.1 + +Please see each file in the implementation for copyright and licensing +information, (in the opening comment of each file). + +[*] The implementation of cairo is contained entirely within the "src" +directory of the cairo source distribution. There are other components +of the cairo source distribution (such as the "test", "util", and "perf") +that are auxiliary to the library itself. None of the source code in these +directories contributes to a build of the cairo library itself, (libcairo.so +or cairo.dll or similar). + +These auxiliary components are also free software, but may be under +different license terms than cairo itself. For example, most of the +test cases in the perf and test directories are made available under +an MIT license to simplify any use of this code for reference purposes +in using cairo itself. Other files might be available under the GNU +General Public License (GPL), for example. Again, please see the COPYING +file under each directory and the opening comment of each file for copyright +and licensing information. \ No newline at end of file diff --git a/src/licensedcode/data/rules/license-intro_75.RULE b/src/licensedcode/data/rules/license-intro_75.RULE new file mode 100644 index 00000000000..27b6c17edab --- /dev/null +++ b/src/licensedcode/data/rules/license-intro_75.RULE @@ -0,0 +1,8 @@ +--- +license_expression: unknown-license-reference +is_license_intro: yes +relevance: 100 +--- + +third-party libraries or other resources that may be +distributed under licenses \ No newline at end of file diff --git a/src/licensedcode/data/rules/license-intro_76.RULE b/src/licensedcode/data/rules/license-intro_76.RULE new file mode 100644 index 00000000000..4f01248fe62 --- /dev/null +++ b/src/licensedcode/data/rules/license-intro_76.RULE @@ -0,0 +1,13 @@ +--- +license_expression: unknown-license-reference +is_license_intro: yes +notes: https://github.com/nexB/scancode-toolkit/issues/3535 +--- + +THIRD-PARTY SOFTWARE NOTICES AND INFORMATION +Do Not Translate or Localize + +This software incorporates components from the projects listed below. The original copyright notices +and the licenses under which Microsoft received such components are set forth below and are provided for +informational purposes only. Microsoft reserves all rights not expressly granted herein, whether by +implication, estoppel or otherwise. \ No newline at end of file diff --git a/src/licensedcode/data/rules/license-intro_77.RULE b/src/licensedcode/data/rules/license-intro_77.RULE new file mode 100644 index 00000000000..dcb623eceaf --- /dev/null +++ b/src/licensedcode/data/rules/license-intro_77.RULE @@ -0,0 +1,10 @@ +--- +license_expression: unknown-license-reference +is_license_intro: yes +notes: https://github.com/nexB/scancode-toolkit/issues/3535 +--- + +This software incorporates components from the projects listed below. The original copyright notices +and the licenses under which Microsoft received such components are set forth below and are provided for +informational purposes only. Microsoft reserves all rights not expressly granted herein, whether by +implication, estoppel or otherwise. \ No newline at end of file diff --git a/src/licensedcode/data/rules/license-intro_78.RULE b/src/licensedcode/data/rules/license-intro_78.RULE new file mode 100644 index 00000000000..8c8a30be665 --- /dev/null +++ b/src/licensedcode/data/rules/license-intro_78.RULE @@ -0,0 +1,62 @@ +--- +license_expression: caldera +is_license_intro: yes +ignorable_copyrights: + - Copyright (c) Caldera International Inc. 2001-2002 +ignorable_holders: + - Caldera International Inc. +--- + +Caldera International, Inc. hereby grants a fee free license that includes +the rights use, modify and distribute this named source code, including +creating derived binary products created from the source code. The source +code for which Caldera International, Inc. grants rights are limited +to the following UNIX Operating Systems that operate on the 16-Bit +PDP-11 CPU and early versions of the 32-Bit UNIX Operating System, with +specific exclusion of UNIX System III and UNIX System V and successor +operating systems: + +32-bit 32V UNIX + +16 bit UNIX Versions 1, 2, 3, 4, 5, 6, 7 + +Caldera International, Inc. makes no guarantees or commitments that any +source code is available from Caldera International, Inc. + +The following copyright notice applies to the source code files for +which this license is granted. + +Copyright(C) Caldera International Inc. 2001-2002. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code and documentation must retain the above +copyright notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +All advertising materials mentioning features or use of this software +must display the following acknowledgement: + +This product includes software developed or owned by Caldera +International, Inc. + +Neither the name of Caldera International, Inc. nor the names of other +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +USE OF THE SOFTWARE PROVIDED FOR UNDER THIS LICENSE BY CALDERA +INTERNATIONAL, INC. AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL CALDERA INTERNATIONAL, INC. BE LIABLE FOR ANY DIRECT, INDIRECT +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/linking-exception-agpl-3.0_1.RULE b/src/licensedcode/data/rules/linking-exception-agpl-3.0_1.RULE new file mode 100644 index 00000000000..de90f51ea64 --- /dev/null +++ b/src/licensedcode/data/rules/linking-exception-agpl-3.0_1.RULE @@ -0,0 +1,11 @@ +--- +license_expression: linking-exception-agpl-3.0 +is_license_notice: yes +--- + +* Additionally, the following linking exception is granted: + * + * If you modify this Program, or any covered work, by linking or + * combining it with other code, such other code is not for that reason + * alone subject to any of the requirements of the GNU Affero GPL + * version 3. \ No newline at end of file diff --git a/src/licensedcode/data/rules/linking-exception-agpl-3.0_2.RULE b/src/licensedcode/data/rules/linking-exception-agpl-3.0_2.RULE new file mode 100644 index 00000000000..7f8de648e39 --- /dev/null +++ b/src/licensedcode/data/rules/linking-exception-agpl-3.0_2.RULE @@ -0,0 +1,11 @@ +--- +license_expression: linking-exception-agpl-3.0 +is_license_notice: yes +--- + +// Additional permission under the GNU Affero GPL version 3 section 7: +// +// If you modify this Program, or any covered work, by linking or +// combining it with other code, such other code is not for that reason +// alone subject to any of the requirements of the GNU Affero GPL +// version \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_955.RULE b/src/licensedcode/data/rules/proprietary-license_955.RULE new file mode 100644 index 00000000000..ac5d906d463 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_955.RULE @@ -0,0 +1,25 @@ +--- +license_expression: proprietary-license +is_license_text: yes +notes: https://fork.dev/license +--- + +Software license agreement + +This License Agreement (the "Agreement") is a legal agreement between you, the end-user, and (the "Author") for the use of this software product ("Software"). By installing and/or using the Software, you are agreeing to be bound by the terms and conditions of this Agreement. +You can download and evaluate the Software for free, but need to purchase a license for long-term use. + +Grant of license + +Author grants you only a limited, non-exclusive license to use the Software. The Software is licensed, not sold, to you for use only under the terms of this Agreement. License key may be used by one user on up to 3 machines at a time on both Mac and Windows operating systems. + +Restrictions and limitations + +You may not lease, rent, or sell the Software or license key. You may not reverse engineer, decompile, or disassemble the Software. +Governing Law + +This Agreement shall be governed by the laws of . If any portion of this Agreement is deemed unenforceable by a court of competent jurisdiction, it shall not affect the forcibility of the other portions of this Agreement. + +Disclaimer + +The Software is provided "as is" and the Author disclaims all warranties with regard to the Software including all implied warranties of merchantability and fitness. In no event shall the Author be liable for any special, direct, indirect, or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use or performance of the Software. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_956.RULE b/src/licensedcode/data/rules/proprietary-license_956.RULE new file mode 100644 index 00000000000..81f4af9cb0e --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_956.RULE @@ -0,0 +1,8 @@ +--- +license_expression: proprietary-license +is_license_notice: yes +referenced_filenames: + - ee/LICENSE +--- + +* All content that resides under the "ee/" directory of this repository, if that directory exists, is licensed under the license defined in "ee/LICENSE". \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_957.RULE b/src/licensedcode/data/rules/proprietary-license_957.RULE new file mode 100644 index 00000000000..e39fd9a7538 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_957.RULE @@ -0,0 +1,9 @@ +--- +license_expression: proprietary-license +is_license_notice: yes +relevance: 100 +referenced_filenames: + - ee/LICENSE +--- + +directory of this repository ( (Commercial License) is licensed under the license defined in "ee/LICENSE" \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_and_apache-2.0_3.RULE b/src/licensedcode/data/rules/proprietary-license_and_apache-2.0_3.RULE new file mode 100644 index 00000000000..5abda619fa2 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_and_apache-2.0_3.RULE @@ -0,0 +1,7 @@ +--- +license_expression: proprietary-license AND apache-2.0 +is_license_notice: yes +--- + +* All content that resides under the "ee/" directory of this repository, if that directory exists, is licensed under the license defined in "ee/LICENSE". +* Content outside of the above mentioned directories or restrictions above is available under the "Apache License 2.0" as defined below. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_524.RULE b/src/licensedcode/data/rules/public-domain_524.RULE new file mode 100644 index 00000000000..47afad97f6c --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_524.RULE @@ -0,0 +1,7 @@ +--- +license_expression: public-domain +is_license_text: yes +relevance: 100 +--- + +This grammar is in the PUBLIC DOMAIN \ No newline at end of file diff --git a/src/licensedcode/data/rules/python_100.RULE b/src/licensedcode/data/rules/python_100.RULE new file mode 100644 index 00000000000..2730900d6fa --- /dev/null +++ b/src/licensedcode/data/rules/python_100.RULE @@ -0,0 +1,13 @@ +--- +license_expression: python +is_license_notice: yes +minimum_coverage: 90 +ignorable_urls: + - http://www.python.org/ + - http://www.python.org/download/releases/3.1.2/license/ +--- + +derived from Python 3.1.2 sources available at +http://www.python.org. Full license is here: + + http://www.python.org/download/releases/3.1.2/license/ \ No newline at end of file diff --git a/src/licensedcode/data/rules/python_99.RULE b/src/licensedcode/data/rules/python_99.RULE new file mode 100644 index 00000000000..1ec6a3c2fdd --- /dev/null +++ b/src/licensedcode/data/rules/python_99.RULE @@ -0,0 +1,13 @@ +--- +license_expression: python +is_license_notice: yes +minimum_coverage: 90 +ignorable_urls: + - http://www.python.org/ + - http://www.python.org/download/releases/2.4.2/license/ +--- + +derived from Python 2.4.2 sources available at +http://www.python.org. Full license is here: + + http://www.python.org/download/releases/2.4.2/license/ \ No newline at end of file diff --git a/src/licensedcode/data/rules/sun-prop-non-commercial_1.RULE b/src/licensedcode/data/rules/sun-prop-non-commercial_1.RULE new file mode 100644 index 00000000000..1de98780cfb --- /dev/null +++ b/src/licensedcode/data/rules/sun-prop-non-commercial_1.RULE @@ -0,0 +1,18 @@ +--- +license_expression: sun-prop-non-commercial +is_license_notice: yes +notes: Seen in ANTLR examples. copyright.html does not exists +--- + +* Permission to use, copy, modify, and distribute this software + * and its documentation for NON-COMMERCIAL purposes and without + * fee is hereby granted provided that this copyright notice + * appears in all copies. Please refer to the file "copyright.html" + * for further important copyright and licensing information. + * + * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF + * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED + * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A + * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR + * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR + * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. \ No newline at end of file diff --git a/src/licensedcode/data/rules/unicode-mappings_3.RULE b/src/licensedcode/data/rules/unicode-mappings_3.RULE new file mode 100644 index 00000000000..a92119d34be --- /dev/null +++ b/src/licensedcode/data/rules/unicode-mappings_3.RULE @@ -0,0 +1,10 @@ +--- +license_expression: unicode-mappings +is_license_notice: yes +relevance: 100 +ignorable_urls: + - http://www.unicode.org/Public/PROGRAMS/CVTUTF +--- + +derived from unicode conversion examples available at +http://www.unicode.org/Public/PROGRAMS/CVTUTF \ No newline at end of file diff --git a/src/licensedcode/data/rules/unknown-license-reference_401.RULE b/src/licensedcode/data/rules/unknown-license-reference_401.RULE new file mode 100644 index 00000000000..592ae2ecaf5 --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_401.RULE @@ -0,0 +1,9 @@ +--- +license_expression: unknown-license-reference +is_license_reference: yes +relevance: 100 +referenced_filenames: + - LICENSE.txt +--- + +See LICENSE.txt for licence details. . \ No newline at end of file diff --git a/src/licensedcode/data/rules/unknown-license-reference_402.RULE b/src/licensedcode/data/rules/unknown-license-reference_402.RULE new file mode 100644 index 00000000000..020a1878c19 --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_402.RULE @@ -0,0 +1,9 @@ +--- +license_expression: unknown-license-reference +is_license_reference: yes +relevance: 100 +referenced_filenames: + - LICENCE.txt +--- + +See LICENCE.txt for license details. . \ No newline at end of file diff --git a/src/licensedcode/data/rules/unknown-license-reference_403.RULE b/src/licensedcode/data/rules/unknown-license-reference_403.RULE new file mode 100644 index 00000000000..1a82e321216 --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_403.RULE @@ -0,0 +1,9 @@ +--- +license_expression: unknown-license-reference +is_license_reference: yes +relevance: 100 +referenced_filenames: + - LICENCE.txt +--- + +See LICENCE.txt for licence details. . \ No newline at end of file diff --git a/src/licensedcode/data/rules/unknown-license-reference_404.RULE b/src/licensedcode/data/rules/unknown-license-reference_404.RULE new file mode 100644 index 00000000000..83c604bd6f4 --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_404.RULE @@ -0,0 +1,9 @@ +--- +license_expression: unknown-license-reference +is_license_reference: yes +relevance: 100 +referenced_filenames: + - LICENSE.txt +--- + +See LICENSE.txt for license \ No newline at end of file diff --git a/src/licensedcode/data/rules/unknown-license-reference_405.RULE b/src/licensedcode/data/rules/unknown-license-reference_405.RULE new file mode 100644 index 00000000000..5d13c9441e1 --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_405.RULE @@ -0,0 +1,9 @@ +--- +license_expression: unknown-license-reference +is_license_reference: yes +relevance: 100 +referenced_filenames: + - LICENSE.txt +--- + +See LICENSE.txt for licence \ No newline at end of file diff --git a/src/licensedcode/data/rules/unknown-license-reference_406.RULE b/src/licensedcode/data/rules/unknown-license-reference_406.RULE new file mode 100644 index 00000000000..ae629423eba --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_406.RULE @@ -0,0 +1,9 @@ +--- +license_expression: unknown-license-reference +is_license_reference: yes +relevance: 100 +referenced_filenames: + - LICENCE.txt +--- + +See LICENCE.txt for license \ No newline at end of file diff --git a/src/licensedcode/data/rules/unknown-license-reference_407.RULE b/src/licensedcode/data/rules/unknown-license-reference_407.RULE new file mode 100644 index 00000000000..b724b367c51 --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_407.RULE @@ -0,0 +1,9 @@ +--- +license_expression: unknown-license-reference +is_license_reference: yes +relevance: 100 +referenced_filenames: + - LICENCE.txt +--- + +See LICENCE.txt for licence \ No newline at end of file diff --git a/src/licensedcode/data/rules/warranty-disclaimer_93.RULE b/src/licensedcode/data/rules/warranty-disclaimer_93.RULE new file mode 100644 index 00000000000..0b613ee8537 --- /dev/null +++ b/src/licensedcode/data/rules/warranty-disclaimer_93.RULE @@ -0,0 +1,8 @@ +--- +license_expression: warranty-disclaimer +is_license_reference: yes +relevance: 100 +--- + +THIS SOFTWARE IS SUPPLIED COMPLETELY "AS IS". + NO WARRANTY.... \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11_22.RULE b/src/licensedcode/data/rules/x11_22.RULE new file mode 100644 index 00000000000..96eb5b2e067 --- /dev/null +++ b/src/licensedcode/data/rules/x11_22.RULE @@ -0,0 +1,12 @@ +--- +license_expression: x11 +is_license_notice: yes +minimum_coverage: 90 +ignorable_urls: + - http://source.icu-project.org/repos/icu/icu/trunk/license.html + - http://www.icu-project.org/ +--- + +derived from ICU (http://www.icu-project.org) +The full license is available here: + http://source.icu-project.org/repos/icu/icu/trunk/license.html \ No newline at end of file From e077eaf3e6d8f3503bf8f910b6536b9e72fad0c7 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Thu, 2 Nov 2023 20:00:45 +0100 Subject: [PATCH 11/11] Add new MPL license rules Signed-off-by: Philippe Ombredanne --- .../rules/mpl-1.1_or_gpl-2.0-plus_10.RULE | 48 +++++++++++++ .../rules/mpl-1.1_or_gpl-2.0-plus_11.RULE | 32 +++++++++ .../rules/mpl-1.1_or_gpl-2.0-plus_12.RULE | 33 +++++++++ .../rules/mpl-1.1_or_gpl-2.0-plus_13.RULE | 44 ++++++++++++ .../rules/mpl-1.1_or_gpl-2.0-plus_14.RULE | 43 ++++++++++++ .../rules/mpl-1.1_or_gpl-2.0-plus_15.RULE | 45 ++++++++++++ .../rules/mpl-1.1_or_gpl-2.0-plus_16.RULE | 27 ++++++++ .../rules/mpl-1.1_or_gpl-2.0-plus_17.RULE | 68 +++++++++++++++++++ .../data/rules/mpl-1.1_or_gpl-2.0-plus_8.RULE | 47 +++++++++++++ .../data/rules/mpl-1.1_or_gpl-2.0-plus_9.RULE | 46 +++++++++++++ 10 files changed, 433 insertions(+) create mode 100644 src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_10.RULE create mode 100644 src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_11.RULE create mode 100644 src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_12.RULE create mode 100644 src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_13.RULE create mode 100644 src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_14.RULE create mode 100644 src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_15.RULE create mode 100644 src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_16.RULE create mode 100644 src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_17.RULE create mode 100644 src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_8.RULE create mode 100644 src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_9.RULE diff --git a/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_10.RULE b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_10.RULE new file mode 100644 index 00000000000..54ede118b3d --- /dev/null +++ b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_10.RULE @@ -0,0 +1,48 @@ +--- +license_expression: mpl-1.1 OR gpl-2.0-plus +is_license_notice: yes +ignorable_copyrights: + - Copyright (c) 1997-1999 the Initial Developer +ignorable_holders: + - the Initial Developer +ignorable_authors: + - the Initial Developer +ignorable_urls: + - http://www.mozilla.org/MPL/ +--- + +* ***** BEGIN LICENSE BLOCK ***** + * Version: {{MPL 1.1/GPL 2.0}} + * + * The contents of this file are subject to the {{Mozilla Public License Version + * 1.1}} (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Rhino code, released + * May 6, 1999. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1997-1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Google Inc. + * + * Alternatively, the contents of this file may be used under the terms of + * the {{GNU General Public License Version 2 or later}} (the "GPL"), in which + * case the provisions of the GPL are applicable instead of those above. If + * you wish to allow use of your version of this file only under the terms of + * the GPL and not to allow others to use your version of this file under the + * MPL, indicate your decision by deleting the provisions above and replacing + * them with the notice and other provisions required by the GPL. If you do + * not delete the provisions above, a recipient may use your version of this + * file under either the {{MPL or the GPL.}} + * + * ***** END LICENSE BLOCK ***** */ \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_11.RULE b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_11.RULE new file mode 100644 index 00000000000..6c64126cec1 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_11.RULE @@ -0,0 +1,32 @@ +--- +license_expression: mpl-1.1 OR gpl-2.0-plus +is_license_notice: yes +ignorable_copyrights: + - Copyright (c) 1998-1999 the Initial Developer +ignorable_holders: + - the Initial Developer +ignorable_authors: + - the Initial Developer +ignorable_urls: + - http://www.mozilla.org/MPL/ +--- + +* ***** BEGIN LICENSE BLOCK ***** + +The contents of this file are subject to the {{Mozilla Public License Version 1.1}} (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at http://www.mozilla.org/MPL/ +Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. +See the License for the specific language governing rights and limitations under the License. + +The Original Code is Rhino code, released May 6, 1999. +The Initial Developer of the Original Code is Netscape Communications Corporation. Portions created by the Initial Developer are Copyright (C) 1998-1999 the Initial Developer. All Rights Reserved. + +Contributor(s): + +{{Alternatively, the contents of this file may be used under the terms of the GNU General Public License Version 2 or later (the "GPL")}}, in which case the provisions of the GPL are applicable instead of those above. + +If you wish to allow use of your version of this file only under the terms of the GPL and not to allow others to use your version of this file under the MPL, indicate your decision by deleting the provisions above and replacing them with the notice and other provisions required by the GPL. If you do not delete the provisions above, a recipient may use your version of this file under either the MPL or the GPL. + + * + * ***** END LICENSE BLOCK ***** */ \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_12.RULE b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_12.RULE new file mode 100644 index 00000000000..603ae9c7e6b --- /dev/null +++ b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_12.RULE @@ -0,0 +1,33 @@ +--- +license_expression: mpl-1.1 OR gpl-2.0-plus +is_license_notice: yes +ignorable_copyrights: + - Copyright (c) 1998-1999 the Initial Developer +ignorable_holders: + - the Initial Developer +ignorable_authors: + - the Initial Developer +ignorable_urls: + - http://www.mozilla.org/MPL/ +--- + +* ***** BEGIN LICENSE BLOCK ***** + * Version: {{MPL 1.1/GPL 2.0}} + +The contents of this file are subject to the {{Mozilla Public License Version 1.1}} (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at http://www.mozilla.org/MPL/ +Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. +See the License for the specific language governing rights and limitations under the License. + +The Original Code is Rhino code, released May 6, 1999. +The Initial Developer of the Original Code is Netscape Communications Corporation. Portions created by the Initial Developer are Copyright (C) 1998-1999 the Initial Developer. All Rights Reserved. + +Contributor(s): + +{{Alternatively, the contents of this file may be used under the terms of the GNU General Public License Version 2 or later (the "GPL")}}, in which case the provisions of the GPL are applicable instead of those above. + +If you wish to allow use of your version of this file only under the terms of the GPL and not to allow others to use your version of this file under the MPL, indicate your decision by deleting the provisions above and replacing them with the notice and other provisions required by the GPL. If you do not delete the provisions above, a recipient may use your version of this file under either the MPL or the GPL. + + * + * ***** END LICENSE BLOCK ***** */ \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_13.RULE b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_13.RULE new file mode 100644 index 00000000000..d2a487c8563 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_13.RULE @@ -0,0 +1,44 @@ +--- +license_expression: mpl-1.1 OR gpl-2.0-plus +is_license_notice: yes +ignorable_copyrights: + - Copyright (c) 1997-1999 the Initial Developer +ignorable_holders: + - the Initial Developer +ignorable_authors: + - the Initial Developer +ignorable_urls: + - http://www.mozilla.org/MPL/ +--- + +* Version: {{MPL 1.1/GPL 2.0}} + * + * The contents of this file are subject to the {{Mozilla Public License Version + * 1.1}} (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Rhino code, released + * May 6, 1999. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1997-1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * the {{GNU General Public License Version 2 or later}} (the "GPL"), in which + * case the provisions of the GPL are applicable instead of those above. If + * you wish to allow use of your version of this file only under the terms of + * the GPL and not to allow others to use your version of this file under the + * MPL, indicate your decision by deleting the provisions above and replacing + * them with the notice and other provisions required by the GPL. If you do + * not delete the provisions above, a recipient may use your version of this + * file under either the {{MPL or the GPL.}} \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_14.RULE b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_14.RULE new file mode 100644 index 00000000000..fe598665054 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_14.RULE @@ -0,0 +1,43 @@ +--- +license_expression: mpl-1.1 OR gpl-2.0-plus +is_license_notice: yes +ignorable_copyrights: + - Copyright (c) the Initial Developer +ignorable_holders: + - the Initial Developer +ignorable_authors: + - the Initial Developer +ignorable_urls: + - http://www.mozilla.org/MPL/ +--- + +* Version: {{MPL 1.1/GPL 2.0}} + * + * The contents of this file are subject to the {{Mozilla Public License Version + * 1.1}} (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is + * + * The Initial Developer of the Original Code is + + * Portions created by the Initial Developer are Copyright (C) + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * the {{GNU General Public License Version 2 or later}} (the "GPL"), in which + * case the provisions of the GPL are applicable instead of those above. If + * you wish to allow use of your version of this file only under the terms of + * the GPL and not to allow others to use your version of this file under the + * MPL, indicate your decision by deleting the provisions above and replacing + * them with the notice and other provisions required by the GPL. If you do + * not delete the provisions above, a recipient may use your version of this + * file under either the {{MPL or the GPL.}} \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_15.RULE b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_15.RULE new file mode 100644 index 00000000000..145c37de0b5 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_15.RULE @@ -0,0 +1,45 @@ +--- +license_expression: mpl-1.1 OR gpl-2.0-plus +is_license_notice: yes +ignorable_copyrights: + - Copyright (c) 1997-1999 the Initial Developer +ignorable_holders: + - the Initial Developer +ignorable_authors: + - the Initial Developer +ignorable_urls: + - http://www.mozilla.org/MPL/ +--- + +* Version: {{MPL 1.1/GPL 2.0}} + * + * The contents of this file are subject to the {{Mozilla Public License Version + * 1.1}} (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Rhino code, released + * May 6, 1999. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1997-1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Google Inc. + * + * Alternatively, the contents of this file may be used under the terms of + * the {{GNU General Public License Version 2 or later}} (the "GPL"), in which + * case the provisions of the GPL are applicable instead of those above. If + * you wish to allow use of your version of this file only under the terms of + * the GPL and not to allow others to use your version of this file under the + * MPL, indicate your decision by deleting the provisions above and replacing + * them with the notice and other provisions required by the GPL. If you do + * not delete the provisions above, a recipient may use your version of this + * file under either the {{MPL or the GPL.}} \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_16.RULE b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_16.RULE new file mode 100644 index 00000000000..01e39ee9730 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_16.RULE @@ -0,0 +1,27 @@ +--- +license_expression: mpl-1.1 OR gpl-2.0-plus +is_license_notice: yes +ignorable_copyrights: + - Copyright (c) 1998-1999 the Initial Developer +ignorable_holders: + - the Initial Developer +ignorable_authors: + - the Initial Developer +ignorable_urls: + - http://www.mozilla.org/MPL/ +--- + +The contents of this file are subject to the {{Mozilla Public License Version 1.1}} (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at http://www.mozilla.org/MPL/ +Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. +See the License for the specific language governing rights and limitations under the License. + +The Original Code is Rhino code, released May 6, 1999. +The Initial Developer of the Original Code is Netscape Communications Corporation. Portions created by the Initial Developer are Copyright (C) 1998-1999 the Initial Developer. All Rights Reserved. + +Contributor(s): + +{{Alternatively, the contents of this file may be used under the terms of the GNU General Public License Version 2 or later (the "GPL")}}, in which case the provisions of the GPL are applicable instead of those above. + +If you wish to allow use of your version of this file only under the terms of the GPL and not to allow others to use your version of this file under the MPL, indicate your decision by deleting the provisions above and replacing them with the notice and other provisions required by the GPL. If you do not delete the provisions above, a recipient may use your version of this file under either the MPL or the GPL. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_17.RULE b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_17.RULE new file mode 100644 index 00000000000..2bee45d1f0f --- /dev/null +++ b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_17.RULE @@ -0,0 +1,68 @@ +--- +license_expression: mpl-1.1 OR gpl-2.0-plus +is_license_notice: yes +ignorable_copyrights: + - Copyright (c) 1997-1999 the Initial Developer + - Copyright (c) 1998-1999 the Initial Developer +ignorable_holders: + - the Initial Developer +ignorable_authors: + - the Initial Developer +ignorable_urls: + - http://www.mozilla.org/MPL/ +--- + +* Version: {{MPL 1.1/GPL 2.0}} + +The contents of this file are subject to the {{Mozilla Public License Version 1.1}} (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at http://www.mozilla.org/MPL/ +Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. +See the License for the specific language governing rights and limitations under the License. + +The Original Code is Rhino code, released May 6, 1999. +The Initial Developer of the Original Code is Netscape Communications Corporation. Portions created by the Initial Developer are Copyright (C) 1998-1999 the Initial Developer. All Rights Reserved. + +Contributor(s): + +{{Alternatively, the contents of this file may be used under the terms of the GNU General Public License Version 2 or later (the "GPL")}}, in which case the provisions of the GPL are applicable instead of those above. + +If you wish to allow use of your version of this file only under the terms of the GPL and not to allow others to use your version of this file under the MPL, indicate your decision by deleting the provisions above and replacing them with the notice and other provisions required by the GPL. If you do not delete the provisions above, a recipient may use your version of this file under either the MPL or the GPL. + + +/* + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: {{MPL 1.1/GPL 2.0}} + * + * The contents of this file are subject to the {{Mozilla Public License Version + * 1.1}} (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Rhino code, released + * May 6, 1999. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1997-1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * the {{GNU General Public License Version 2 or later}} (the "GPL"), in which + * case the provisions of the GPL are applicable instead of those above. If + * you wish to allow use of your version of this file only under the terms of + * the GPL and not to allow others to use your version of this file under the + * MPL, indicate your decision by deleting the provisions above and replacing + * them with the notice and other provisions required by the GPL. If you do + * not delete the provisions above, a recipient may use your version of this + * file under {{either the MPL or the GPL.}} + * + * ***** END LICENSE BLOCK ***** */ \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_8.RULE b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_8.RULE new file mode 100644 index 00000000000..466cc8c6f4f --- /dev/null +++ b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_8.RULE @@ -0,0 +1,47 @@ +--- +license_expression: mpl-1.1 OR gpl-2.0-plus +is_license_notice: yes +ignorable_copyrights: + - Copyright (c) 1997-1999 the Initial Developer +ignorable_holders: + - the Initial Developer +ignorable_authors: + - the Initial Developer +ignorable_urls: + - http://www.mozilla.org/MPL/ +--- + +* ***** BEGIN LICENSE BLOCK ***** + * Version: {{MPL 1.1/GPL 2.0}} + * + * The contents of this file are subject to the {{Mozilla Public License Version + * 1.1}} (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Rhino code, released + * May 6, 1999. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1997-1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * the {{GNU General Public License Version 2 or later}} (the "GPL"), in which + * case the provisions of the GPL are applicable instead of those above. If + * you wish to allow use of your version of this file only under the terms of + * the GPL and not to allow others to use your version of this file under the + * MPL, indicate your decision by deleting the provisions above and replacing + * them with the notice and other provisions required by the GPL. If you do + * not delete the provisions above, a recipient may use your version of this + * file under either the {{MPL or the GPL.}} + * + * ***** END LICENSE BLOCK ***** */ \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_9.RULE b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_9.RULE new file mode 100644 index 00000000000..55d65c176dc --- /dev/null +++ b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_9.RULE @@ -0,0 +1,46 @@ +--- +license_expression: mpl-1.1 OR gpl-2.0-plus +is_license_notice: yes +ignorable_copyrights: + - Copyright (c) the Initial Developer +ignorable_holders: + - the Initial Developer +ignorable_authors: + - the Initial Developer +ignorable_urls: + - http://www.mozilla.org/MPL/ +--- + +* ***** BEGIN LICENSE BLOCK ***** + * Version: {{MPL 1.1/GPL 2.0}} + * + * The contents of this file are subject to the {{Mozilla Public License Version + * 1.1}} (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is + * + * The Initial Developer of the Original Code is + + * Portions created by the Initial Developer are Copyright (C) + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * the {{GNU General Public License Version 2 or later}} (the "GPL"), in which + * case the provisions of the GPL are applicable instead of those above. If + * you wish to allow use of your version of this file only under the terms of + * the GPL and not to allow others to use your version of this file under the + * MPL, indicate your decision by deleting the provisions above and replacing + * them with the notice and other provisions required by the GPL. If you do + * not delete the provisions above, a recipient may use your version of this + * file under either the {{MPL or the GPL.}} + * + * ***** END LICENSE BLOCK ***** */ \ No newline at end of file